An open API service indexing awesome lists of open source software.

https://github.com/alexdemure/gadlogging

A production-ready logging configuration module for Python.
https://github.com/alexdemure/gadlogging

logger logging

Last synced: about 1 year ago
JSON representation

A production-ready logging configuration module for Python.

Awesome Lists containing this project

README

          



logo


A production-ready logging configuration module for Python.

---

### Installation

```
pip install gadlogging
```

### Usage

```python
import json
import sys
import logging
from gadlogging import config, Logger

config.setup(Logger("root", logging.INFO, json, sys.stdout))

logger = logging.getLogger()
```