Skip to main content

python log best practice.

Project description


reelog
==============================
python log best practices
------------------------------

.. code-block:: python
>>> 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.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: reelog-1.3.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/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for reelog-1.3.tar.gz
Algorithm Hash digest
SHA256 8e6796220089e4caf11e4a8172ea62bae46277e864d0163b8689e0f072663c23
MD5 aaf4d35404627dc11714875e7a51e6fc
BLAKE2b-256 c17fa51754dca769eac952c4b26ecbaa8b73a2797835101b5f5dc10c84deab70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reelog-1.3-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/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for reelog-1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bdd6e53ecdf001bc6f2268bc4a380ac78e94e4c70287355a27bc78059a7cfc8
MD5 3fe87126b6c2ef152b80ef335875cc73
BLAKE2b-256 a532ecb0fa352564d59314644089a372e12b2253e36228b19126a425830ecbac

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