Skip to main content

Provides more logging tools.

Project description

loggings

Provides more logging tools.

Installation

$ pip install loggings

Usage

>>> import loggings

>>> loggings.warning("hello")
WARNING:root:hello

>>> loggings.get_logger("here", loggings.DEBUG).debug("hello")
DEBUG:here:hello

See Also

Github repository

PyPI project

License

This project falls under the BSD 3-Clause License.

History

v0.0.5

  • Added ANSI colorized output by log level for TTY streams.

v0.0.4

  • Updated the message logged by log() when line_info is True.

v0.0.3

  • New keyword-only argument line_info for log(), debug(), etc.

v0.0.2

  • New function log(), which logs a message with the integer severity level on the module logger.

v0.0.1

  • Initial release.

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

loggings-0.0.5.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

loggings-0.0.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file loggings-0.0.5.tar.gz.

File metadata

  • Download URL: loggings-0.0.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for loggings-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b9e6ef63a5e5357972c036ceb96c5963fb4c898b76e31578b5f252f98f22dc78
MD5 2cdd236c9cf485a543b7f4f776298407
BLAKE2b-256 7eaf6ddb468404ff271057be8e8fdcf86cb9005c30bd1315a6de894e0e1b999f

See more details on using hashes here.

File details

Details for the file loggings-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: loggings-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for loggings-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 528cae217ad171d33afa541c8d0b2e60b8071a609ef332e6d7129d0dd3f7e803
MD5 f74dbfd4b802c0977d4f404daada4f6f
BLAKE2b-256 56d46912cdbbfc843d56a2a1c82753fef0aa9061fe6e10c28264dba766f68bd2

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