Skip to main content

Yet Another LOgging Wrapper

Project description

yalow

Yet Another LOgging Wrapper

Documentation Status Python package

Overview

This package provides a generic wrapper for Python's logging module. A log directory is created in the project root directory. The log generated by yalow is intended for use in situations where you need a single project log that all of the packages in your project write to.

How Does Do

Get the root path of your project in whatever way you would like. Once that's accomplished provide it to Yalow along with your project name:

from yalow import Yalow
logger = Yalow(root_path=I_AM_GROOT, project_name='logalog').logger

Example log output format:

2020-03-06 21:16:13,495 - logalog - INFO: Logging initialized for project: logalog
2020-03-06 21:16:13,495 - logalog - INFO: IT'S ALIVE!!!!!
2020-03-06 21:16:13,496 - logalog.example_package - ERROR: And its minion is HUGE!

Refer to examples for usage details.

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

yalow-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

yalow-0.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file yalow-0.0.1.tar.gz.

File metadata

  • Download URL: yalow-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for yalow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8134aed4ebd9d57dc31e76b530877b76323979d03780a0181ba4b1c3e175276f
MD5 041933838d016c70e7efa387f31c8471
BLAKE2b-256 1d2669369153a5f830391a3a90eb7c174b8a23f9751048bbe0d2d4b5a539fc69

See more details on using hashes here.

File details

Details for the file yalow-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: yalow-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for yalow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e0ab5d8b46586efed8baf12a50fcd970c6e887469d2509d6f6605c54205c5d
MD5 35d3f60f537cde90dbb089762dba1688
BLAKE2b-256 557883e48d7e82b32dfe95988f5a18e793a1799e654259d243322381bcdd2b56

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