python log best practice.
Project description
reelog python log best practices
>>> import reelog
>>> # root logger
>>> logger = reelog.get_logger()
>>> logger.info("hello world!")
>>> # reelog name logger
>>> logger = reelog.get_logger("reelog")
>>> logger.error("hello world!")
>>> # output to stdout and file
>>> logger = reelog.get_logger("reelog", outputs=["stdout", "file"])
>>> logger.warning("hello world!")
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
reelog-1.6.4.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file reelog-1.6.4.tar.gz
.
File metadata
- Download URL: reelog-1.6.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df89c251b3a9e936662830efe8e3d1d4a1d2a30dc8255e443efa7e74d6bfafcf |
|
MD5 | 293518fa549ada28bd87623c25b84009 |
|
BLAKE2b-256 | 88709fff0dfeea8b664947976bb9453fcdbd536d660e81259bda194c41a8e459 |
File details
Details for the file reelog-1.6.4-py2.py3-none-any.whl
.
File metadata
- Download URL: reelog-1.6.4-py2.py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ebd8df179fd009da453e20292df7b78d980bcb325ab817abe0d40d963e7ad24 |
|
MD5 | 416ba5ecb14c480cc420ecda812f833f |
|
BLAKE2b-256 | f2fc2cd7b9b48d85ebdd7ebc8443f6911f757b3fa423a54e65161594d71a7981 |