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.0.tar.gz (4.4 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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.0.tar.gz
  • Upload date:
  • Size: 4.4 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.0.tar.gz
Algorithm Hash digest
SHA256 f3fb5e3352269009e951a131fe993998d04a5e446471f6fcf16e4e9c6d85478e
MD5 78382c5ae97860a0d97f9b6a608d9b42
BLAKE2b-256 e20ca5e5b65f503896246e371b82ad686f8e788ec2b959cd54cc3c51daaa3079

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06ccf8bc394002a8ead858b455611b50315a6f9f82b87c9d0ee4be36039dedb1
MD5 d14f2fc8d60021525c15f516b27336c4
BLAKE2b-256 8a5cc04028478974b6c3032a240a30d128f3a7f1cdd3237d95aacbe124b33cc2

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