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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 0a369058dce98e934a23a5d0aa5babba861b97f3e7488524a73a288843297499
MD5 7bf0a3fb808ba5885ef8861107100d3c
BLAKE2b-256 a8b26f4d283894ff41b7127db3520258b327aeab7dfbe27afd06e44d619f4d77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8361884efde17deeaf9f6e0c552eff5fd74d57c98ba6840bb2d255ae8a90e425
MD5 bf29df021952feee39ea01980e636121
BLAKE2b-256 8b2e2f08c6be462fce1f5f7f40d18148df5d16bca840ac179617bef97223a002

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