Metadata-Version: 2.1
Name: seqlog
Version: 0.3.13
Summary: SeqLog enables logging from Python to Seq.
Home-page: https://github.com/tintoy/seqlog
Author: Adam Friedman
Author-email: tintoy@tintoy.io
License: MIT license
Keywords: seqlog
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: python-dateutil (>=2.5.3)
Requires-Dist: requests (>=2.10.0)
Requires-Dist: PyYAML (>=3.11)

===============================
SeqLog
===============================


.. image:: https://img.shields.io/pypi/v/seqlog.svg
        :target: https://pypi.python.org/pypi/seqlog

.. image:: https://img.shields.io/travis/tintoy/seqlog.svg
        :target: https://travis-ci.org/tintoy/seqlog

.. image:: https://readthedocs.org/projects/seqlog/badge/?version=latest
        :target: https://seqlog.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


SeqLog enables logging from Python to `Seq <https://getseq.net/>`_.

It also adds support for logging with named format arguments (via keyword arguments) in the same way ``"{arg1}".format(arg1="foo")`` does.

* Free software: MIT license
* Documentation: https://seqlog.readthedocs.io.


=======
History
=======

0.3.13 (2018-11-20)
-------------------

* Explicitly set ``Content-Type`` header to ``application/json`` when posting events to Seq (tintoy/seqlog#17).

0.3.12 (2018-11-19)
-------------------

* If logging fails to submit an event to Seq then log the response body, if available (tintoy/seqlog#17).

0.3.11 (2018-09-22)
-------------------

* Support custom ``JSONEncoder`` implementations (tintoy/seqlog#7 and tintoy/seqlog#13).

0.3.10 (2018-08-11)
-------------------

* Fix incorrect behaviour when configuring logging from a file (tintoy/seqlog#10).  
  **Breaking change**: Configuring logging from file or dict will now by default override the default logger class to be ``StructuredLogger`` (this can be reverted to previous behaviour by passing ``use_structured_logger=False``).

0.3.9 (2018-01-09)
------------------

* Add PyYAML as a dependency (tintoy/seqlog#6).

0.3.8 (2018-01-05)
------------------

* Improve documentation for logging configuration from file (#3)

0.3.7 (2018-01-05)
------------------

* Implement and document logging configuration from file (#3)

0.3.4 (2017-11-27)
------------------

* Fix sample code (#2).

0.3.3 (2016-11-18)
------------------

* Use streaming mode when posting to Seq (#1)

0.3.2 (2016-11-18)
------------------

* Updated release notes

0.3.1 (2016-11-18)
------------------

* Further work relating to intermittent "RuntimeError: The content for this response was already consumed" when publishing log entries (#1)

0.3.0 (2016-11-16)
------------------

* Fix for intermittent "RuntimeError: The content for this response was already consumed" when publishing log entries (#1)

0.2.0 (2016-07-09)
------------------

* Support for configuring additional log handlers when calling log_to_seq.
* Support for global log properties (statically-configured properties that are added to all outgoing log entries).

0.0.1 (2016-07-07)
------------------

* First release on PyPI.

0.0.7 (2016-07-09)
------------------

* ``log_to_seq`` now returns the SeqLogHandler to enable forced flushing of log records to Seq.
* Change ``auto_flush_timeout`` to a ``float`` representing seconds (instead of milliseconds).
* Update ``testharness.py`` to actually log to Seq.
  You can override the server URL and API key using the ``SEQ_SERVER_URL`` and ``SEQ_API_KEY`` environment variables.
* Update usage information in documentation.
* Python 3 only for now (sorry, but logging in Python 2 doesn't have all the required extensibility points). If the need to support Python 2 becomes great enough then I'll try to find a way.

0.1.0 (2016-07-09)
------------------

* Proper versioning starts today :)



