Skip to content

thesis/best-python-log-formatter

Repository files navigation

best-python-log-formatter

A good (the best, actually) formatter for Python logging.

https://pypi.python.org/pypi/best_log_formatter/

https://circleci.com/gh/cardforcoin/best-python-log-formatter.png?style=badge

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.

About

A pretty cool log formatter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages