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.5.tar.gz (5.0 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.5-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.5.tar.gz
  • Upload date:
  • Size: 5.0 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.5.tar.gz
Algorithm Hash digest
SHA256 91a4f6c7b2a69db4341ec43bb19f6ba379ca06f5ecf9ec6395ba5c55772256f6
MD5 a9de8dcbdfad14eaf15c19ba9e0ed00f
BLAKE2b-256 face594a6831b154897777b2f0ab999066461923a8dcb838da2a810672bbaa17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9ddb513cc96029a759ac3d4189c110fe9e696dd3155a4503471a9abde875f3d0
MD5 19e048c05d834644a0cd642faf337de4
BLAKE2b-256 5ea50d5ce02022570977c8a4787219ee0c044f5bb9f006d9135595d686faac07

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