Skip to main content

Logging utilities for personal use.

Project description

logging-utils-tddschn

Logging utilities for personal use.

Install

$ pip install logging-utils-tddschn

Example Usage

get_logger

Check the source code linked above to learn more about the arguments.

from logging_utils_tddschn import get_logger

logger, _ = get_logger(__name__)
logger.info('Logging from logging-utils-tddschn!')
_DEBUG=1 python3 app.py
# prints something like
# INFO:tests.test_utils_naive:/Users/tddschn/app.py:5:my_func:Logging from logging-utils-tddschn!

# logging is turned off (sent to NullHandler) if you don't set env var _DEBUG or it's set to false.

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

logging-utils-tddschn-0.1.10.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

logging_utils_tddschn-0.1.10-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file logging-utils-tddschn-0.1.10.tar.gz.

File metadata

  • Download URL: logging-utils-tddschn-0.1.10.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0b1 CPython/3.10.4 Darwin/21.5.0

File hashes

Hashes for logging-utils-tddschn-0.1.10.tar.gz
Algorithm Hash digest
SHA256 1195d1b33280b4ad9fd46935e80bd832943231ed427dfed464a3f8131261a136
MD5 cb83ab058a6353546e1ca1a24b099384
BLAKE2b-256 07bb208df1def79c2160c1b27196e50dc797b773b4e974cd07ddddfec8992f05

See more details on using hashes here.

File details

Details for the file logging_utils_tddschn-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for logging_utils_tddschn-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bd0721f9c98ce71d41511f00f9fd77b0ad410090e3d50bc052db5f0f3ecd0598
MD5 5bd0dca1d62a89caabfeee13e3b9c4e3
BLAKE2b-256 e61fe3a1c39e3acad2df4f3321adb56342dab4ffdf71308f254269d6573128da

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