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.

Installation

pip install yalow

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yalow-0.0.2.tar.gz
Algorithm Hash digest
SHA256 93b704b44b431e3b2fcb1cfd1a1380040d7cb1f1e579d9f8fcd6edfeb379509a
MD5 402a808361be157ed911d105fa325bfb
BLAKE2b-256 fa5dbce78d63656276b20a8a293f7926d1a81733938e3dffb2a202d09a2d9756

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yalow-0.0.2-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for yalow-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 78ee4828f317a7a690d23923f72e6b0cc208790751e0a4cd5fb231933550f692
MD5 29906222e75084a1b9f396987ed12cdc
BLAKE2b-256 e9beffe6b30f96c2f4ad9aebb610c4549869aa23e63ff3b0ae95137fe03330d7

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