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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 724aefccecb50735be0a638943ad96b58d3f3439cdf339d2e7eff5a8b4b052ea
MD5 23c564c38d8a9cd91e9a4ef43578a289
BLAKE2b-256 e65de352a68a3e9c8b8dca972e23adbbec6594839cfd5ce311d031170f2016d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3082e27714ca8b5363e4d7e5450b2aebd3814edb4eb6d1925b1d26c0e5a550ee
MD5 13ec144f5e743cb140907bdb700e3a4a
BLAKE2b-256 d381954b25dc1524410367ae9a03c5f9a8bcf65c16f33629bdc9c6f6cbb2f24f

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