Python logging library
Project description
spylogger
Generic python logging library.
Installation
pip install spylogger
Usage
from spylogger import get_logger
logger = get_logger()
logger.info({'string': 'test Pretty info message.', 'int': 42, 'bool': True})
Environment Variables:
SPY_LOG_LOGGER
The configured logger name. Available loggers:
json-flat (Default)
json
ugly
SPY_LOG_LEVEL
The python log level. See the docs
get_logger(name=SPY_LOG_LOGGER, log_level=SPY_LOG_LEVEL)
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
spylogger-1.0.3.tar.gz
(2.7 kB
view details)
File details
Details for the file spylogger-1.0.3.tar.gz.
File metadata
- Download URL: spylogger-1.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df93b93db5e16cf4f34ae82d3c9fda38b0fd6c4e31d857a6bc1510e25ee5454f
|
|
| MD5 |
26e8f8aec26d2e4c8b091aee8fc8533f
|
|
| BLAKE2b-256 |
ede2e7143c09d0db7c4d8ae82c14a62c76a83e22c9d23e9930a2e6eeab23c96d
|