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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.8.tar.gz
  • Upload date:
  • Size: 5.1 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.8.tar.gz
Algorithm Hash digest
SHA256 f55b8e473658e3fd212810860c95895f8bdb1dacc763f88f32cc5276dc9428bf
MD5 c5e1e3d55248b8575a8e047fad419827
BLAKE2b-256 af1064be724187700951e41fe95ea0a21213339372da7112fd8f8fa09f9d8280

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5a96d9fe9fe252a831ca111825fb773ee622417d7c3a67a6b2848762c2be2473
MD5 75b202ccfc7b55afa3d8114ab75500cb
BLAKE2b-256 0ed637c0155108548816fd70e579ec87bb1287104462c160c177d14a1c423964

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