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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a6c49cc235aee3418a443e6579aff39af2386dc5161d3f4fe580fedfa2e506a1
MD5 b977e7ad188c85a0f5369f52fcbe8602
BLAKE2b-256 30dcc82c0d547d10c77c240d71aec388c1e4727fa04cce7cf5bc380048dc3480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0de1ef119d2ac2d42a09ba3d35ac2f0539080916cfba0c161adaf68cb05aab0c
MD5 f68fa4a060549791a3f4cba38b696432
BLAKE2b-256 ab9cd7fc96d3c4ebb8fa4d2329de2586ef3325e46e42a617bf94e4c8159b0944

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