Skip to main content

python log best practice.

Project description


# reelog
## python log best practices

example :
```
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.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

reelog-1.0-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: reelog-1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 4fbccecf217dc8d9e21582c66a5f5736c1037c2a04e2eec19a76dd9efd6efad1
MD5 db274c98bed33115cb2fe0a916638333
BLAKE2b-256 24bde7256fc567092e7765b0f34f5db10964b04c33edb27916c4af4699a11d87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reelog-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8f86aeda4ed7adf25eb6390f3c6e48a7f0a0f9d57d7d7289c449b912476060a3
MD5 8f9a5243fafc339efe138fa02014d78e
BLAKE2b-256 347eae04aacb71d451ada6d1fc80507797776db4197d827c431f23576a2bf6c0

See more details on using hashes here.

Supported by

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