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.6

  • Updated core module docstring text to use the package name loggings.

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.6.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.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loggings-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 c779dbc5782feeea2d1123a20bd03182f8675d98d2da0cc9fda199088b4ea294
MD5 6beb46d0c54639da4962f93cf240c6d3
BLAKE2b-256 c7c56bd87de1bfbdac3a08d2d1d0e77f70f335bd0b10f43b75237ebadc85a225

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loggings-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4f8f02a1e7d8cc789a4eca827a5b97b22bdb5bc511c8c03a9867c42e2016c869
MD5 0ace532dc15a89fdcc25b3a017529477
BLAKE2b-256 94fb82a4ebe3c211f801805ac51677d99cd3bd061645c62e2c0f7b127522b09a

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