Simple Python library for customizable structured logging.
from unclogger import get_logger
logger = get_logger("test logger")
logger.info("test test", foo="abc", bar=123)
Output:
{
"foo": "abc",
"bar": 123,
"event": "test test",
"logger": "test logger",
"level": "info",
"timestamp": "2021-02-12T22:40:07.600385Z"
}