StreamSage Python Logger
Project description
STREAM SAGE PYTHON LOGGER
Log format
[<Date> <Time>][<logLevel>][<context>][<file>:<line>][<LoggerOptionalParams>] <message>
Date format: YYYY-MM-DD
Time format: HH:mm:ss
LoggerOptionalParams exampe:
logger.info("hi", extra={"user": "USER"})
Logger output
[2022-04-15 12:06:34][info][Sample App][samle_file.py:1] Sample LOG message
[2022-04-15 03:06:00][info][Sample App][samle_file.py:1][messageId:some-message-id][domain:message-domain] Sample LOG message with additional params
[2022-04-15 12:06:34][error][Sample App][samle_file.py:1][customer:customer] Sample ERROR message with additional params
[2022-04-15 21:43:36][debug][Sample App][samle_file.py:1][debugLevel:5] Sample Debug message in debug level 5
[2022-04-15 10:20:28][debug][Sample App][samle_file.py:1][debugLevel:2] Sample Debug message in debug level 2
Installation
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamsage_python_logger-0.0.6.tar.gz.
File metadata
- Download URL: streamsage_python_logger-0.0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acafbe458139ebe57f50263e526126c9e2d65946be901ac6cb96b3e4ed1bcfe8
|
|
| MD5 |
0d1ad9a435767cf2efbe116d86fbf484
|
|
| BLAKE2b-256 |
ba0b9a528eab85848495f17fd4780fbb4cb17c5deab0795c19f603a22a3b4d98
|
File details
Details for the file streamsage_python_logger-0.0.6-py3-none-any.whl.
File metadata
- Download URL: streamsage_python_logger-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02399339d1977afdd67ebffef618f0e2e8ee17143a9094b0912f99fb9f4e487
|
|
| MD5 |
a48c2f5d3f94261c726909414eb7169c
|
|
| BLAKE2b-256 |
cd2f80433f176b81f89547f5f799f344880de93987866f4d19f34f60b0f86597
|