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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logbasic-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 605dedf1cccc437834b00be10e95a7d4883be1f17b32c99dc6e2d07c376e04e5
MD5 51ec341e9d5d31051ba680e50b1b7159
BLAKE2b-256 ee1cdd5477d218d475ea659f0f054db2e3e9f436376b44a109920b60d67f6043

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logbasic-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 374b908a30e2ad4e6701762121f526965257fd8a1ec8c643b1594261d80063f9
MD5 1ae58d547fb61f253fffb40a5e51a073
BLAKE2b-256 81441941ce5f3d47d273778b96e536ad553bbc8f8a4470f82d83afc558dd93b0

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