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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 61ae1179b1b98eed23086dc838a81c74bc03d098e69212e59f1cc49fb87597b7
MD5 443b57409c988e6e7029dbeaaa1604b9
BLAKE2b-256 7e90efd6aaeb9ed3b6a111787ad139094b2fd2245a14f91bd26cc94ae518f1f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3c50f7b37112a0af37c59459c189ca8bc180dc7439fc9bafd7340b90a32423a5
MD5 5223c6bdb6074e60a9ffd40d1c4dea9e
BLAKE2b-256 94b63e86e144f28466f2af01088850045cc87a36478acaa76b6600468315a834

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