Skip to main content

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


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.5.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

reelog-1.6.5-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file reelog-1.6.5.tar.gz.

File metadata

  • Download URL: reelog-1.6.5.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

Hashes for reelog-1.6.5.tar.gz
Algorithm Hash digest
SHA256 21d533fbb0329df84c1f81a92fc09b20c09c0d60c38583576c269a6b3d6eebae
MD5 5253a9e8ebea762ca47756c7edb94a86
BLAKE2b-256 a39d178989f001dc4323efbf8f6dc55b1d218e800b710877ee25161b23c6fc81

See more details on using hashes here.

File details

Details for the file reelog-1.6.5-py2.py3-none-any.whl.

File metadata

  • Download URL: reelog-1.6.5-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

Hashes for reelog-1.6.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9e3526619698bde33f6876dd86b634dcefb93b1f637e8160bc7613d9080fd701
MD5 4182f4047ebbaa0147586e70ba55d789
BLAKE2b-256 2d69c8f524bbc2d59d35ed33b099242fb7ab19d884cc18de57a9faf155001371

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page