Metadata-Version: 2.1
Name: thejsonlogger
Version: 0.0.5
Summary: The JSON Logger
Author-email: Aaron Rueth <arueth@gmail.com>
Project-URL: Homepage, https://github.com/rueth-io/thejsonlogger
Project-URL: Issues, https://github.com/rueth-io/thejsonlogger/issues
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Logging
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# thejsonlogger

A simple JSON [structured logging](https://cloud.google.com/logging/docs/structured-logging) formatter for Python.

## Examples

### Configuration

`logging.conf`

```
[formatters]
keys=thejsonlogger

[formatter_thejsonlogger]
class=thejsonlogger.TheJSONLogger

[handlers]
keys=console

[handler_console]
class=logging.StreamHandler
args=(sys.stdout,)
formatter=thejsonlogger

[loggers]
keys=root

[logger_root]
level=INFO
handlers=console

[logger_<logger_name>]
level=INFO
handlers=console
```
