Skip to main content

A simple package for logging.

Project description

Logbasic

This package contains some simple helper functions for logging. There are 6 log levels:

  • debug()
  • warning()
  • info()
  • error()
  • special()
  • success()

They work the same way as the default print() function. To get just the formatted string add _string to the function, e.g. warning_string().

Dictionaries, timedeltas and datetimes are specially formatted so keep that in mind. dictionaries are formatted like JSON files, timedeltas when negative are formatted as if they were positive but with a minus sign (-) prefixed.

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

logbasic-0.0.9.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

logbasic-0.0.9-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file logbasic-0.0.9.tar.gz.

File metadata

  • Download URL: logbasic-0.0.9.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for logbasic-0.0.9.tar.gz
Algorithm Hash digest
SHA256 84a6f1eaab9d4d3cb99c91970380d4189129ff2100dacea793e3c89d71536b62
MD5 8613baa268df8968de11126fcfbd2351
BLAKE2b-256 a7cf546e423c509a680637d99c75ee943ab5268f0f93beb7c3c8c2f66d6d5ae3

See more details on using hashes here.

File details

Details for the file logbasic-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: logbasic-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for logbasic-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 df6d5527e036c83df829313a8765104f78fbcb470c8e38b706bd0f9dd9b67686
MD5 d853bac713a981f251fdfb69ecbaee03
BLAKE2b-256 c570d814d8bcfcba72e1f045d1ffb4623696f6463e1b48d64b69e000fb4d057c

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