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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logging-utils-tddschn-0.1.8.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

File hashes

Hashes for logging-utils-tddschn-0.1.8.tar.gz
Algorithm Hash digest
SHA256 fb6ba94645ff4ccda264534cae9d2e7502c00c022bdf3ffb6684bffd732bccdd
MD5 a9e4c8143147c0726fb3c87d9437eda1
BLAKE2b-256 e856079a7950bfa6d2d8e826826921385d4a04b761f4ff065aa72acdae2b68da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for logging_utils_tddschn-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8b96903320cddaf4f31a03f5e07e34be5cd2b7b21415743607c3cc47f1fd5bb1
MD5 b0ada6fbd4bbbfcda04a1dc542273dca
BLAKE2b-256 6b6a782e500f28a720e55848fa7f9cf190bf5f3e896d470c61f3219b907a613e

See more details on using hashes here.

Supported by

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