NDJSON formatted logger integration with Sanic
Project description
entry-logger-sanic
A logger for Sanic based EntryDSM service
Install
pip install entry-logger-sanic
Feature
- Request logging
- System logging
- File saving in NDJSON format
Usage
from sanic import Sanic
from entry_logger_sanic import set_logger
app = Sanic("SERVICE NAME") # please specify service name!
set_logger(app)
...
Versioning
{Major}.{Minor}.{Patch}
ex: 0.2.3
- Major: without subcompatibility
- Minor: with partial subcompatibility
- Patch: with full subcompatibility
Maintainer
- Seonghyeon Kim - NovemberOscar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.