python-daiquiri

Python library to easily setup basic logging functionality
  https://github.com/jd/daiquiri
  0
  no reviews



The daiquiri library provides an easy way to configure logging. It also provides some custom formatters and handlers.

Its promise is to setup a complete standard Python logging system with just one function call. Nothing more, nothing less. The interesting features are:

* Logs to stderr by default.
* Use colors if logging to a terminal.
* Support file logging.
* Use program name as the name of the logging file so providing just a
directory for logging will work.
* Support syslog.
* Support journald.
* JSON output support.
* Support of arbitrary key/value context information providing.
* Capture the warnings emitted by the warnings module.
* Native logging of any exception.
This is the Python 2 version of the package.