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.4.tar.gz (4.5 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.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.4.tar.gz
  • Upload date:
  • Size: 4.5 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.4.tar.gz
Algorithm Hash digest
SHA256 98cc8be9efcdf3ba8626d72a6dcf6e41e8f6d270fb42bf53a8930acb5ea43774
MD5 31d70c084850075e6521ea57f4808b64
BLAKE2b-256 69cb218efe3017addaf5979a96fe538d8f200d116b0d615c65e22a4317bd724b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 08f2bfeed731dad53ba8f190481ccb32b33cc9532925b6f026fb137ec210c77a
MD5 7566a745fa43639b789743b23d6f7d37
BLAKE2b-256 d9927c04b455d24aaeba01ab89095d440ceced9d31e6a8b84608174e6d455cb6

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