https://github.com/thesis/best-python-log-formatter
A pretty cool log formatter.
https://github.com/thesis/best-python-log-formatter
Last synced: 2 months ago
JSON representation
A pretty cool log formatter.
- Host: GitHub
- URL: https://github.com/thesis/best-python-log-formatter
- Owner: thesis
- Created: 2014-09-03T01:13:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-14T23:17:16.000Z (almost 11 years ago)
- Last Synced: 2026-01-14T10:37:54.460Z (6 months ago)
- Language: Python
- Size: 160 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
best-python-log-formatter
=========================
A good (the best, actually) formatter for Python logging.
https://pypi.python.org/pypi/best_log_formatter/
.. image:: https://circleci.com/gh/cardforcoin/best-python-log-formatter.png?style=badge
:target: https://circleci.com/gh/cardforcoin/best-python-log-formatter
.. pypi - Everything below this line goes into the description for PyPI.
The API
-------
There is one class in this package: ``best_log_formatter.Formatter``
The log format
--------------
Dates are all in UTC with millisecond precision.
::
2014-08-08T05:13:59,214+0000 name.of.logger INFO Status is nominal.
For multi-line messages, all lines after the first are indented with a tab
character.
::
2014-08-08T05:13:59,214+0000 name.of.logger ERROR This is a
multi-line
message.