Skip to main content

A simple, styled logging library.

Project description

StyledLogger

A simple, yet beautiful logging library for Python 🐍 >= 3.9

Tests Upload Python Package

To use, simply install via pip install styledlogger

Then you can import the StyledLogger class from the styledlogger package, and initialize it with a name.


Simple example using a logger:

>>> from styledlogger import StyledLogger
>>> logger = StyledLogger(name="Main")

>>> logger.info("Good Morning!")
8:57:41 :: INFO @ Main - Good Morning!

>>> logger.warn("Python < 3.7 not supported")
8:58:03 :: WARN @ Main - Python < 3.7 not supported

>>> logger.error("User database entries not found!")
8:58:35 :: ERRO @ Main - User database entries not found!

>>> logger.fatal("Lost connection to the API.")
8:58:51 :: FATL @ Main - Lost connection to the API.

There's more to this library, and I encourage to play around with it. You can check out the examples folder for some nice examples showing the features of the library.


Check out the GitHub: https://github.com/BareAlek/StyledLogger Contact me at mail: alek@imalek.me

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

styledlogger-0.1.4.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

styledlogger-0.1.4-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file styledlogger-0.1.4.tar.gz.

File metadata

  • Download URL: styledlogger-0.1.4.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for styledlogger-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a3045e0427c907f8ec65e2616321c8006595cd40f5cc28b92facd4a655ed0154
MD5 8a26149ad0969553871ef038592c36cf
BLAKE2b-256 9e81d7a2d8abd092b456fe1d9ca1a9d28ea1f673d4cc8de72c9cfd5fc85bf822

See more details on using hashes here.

File details

Details for the file styledlogger-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: styledlogger-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for styledlogger-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a024a69ad208d463308cbb4cb8467b5ad9e7a173055ad41ceece901373d68568
MD5 9a5dff54d927b527e77a51dc9358c357
BLAKE2b-256 6fec20f2d829dd04a98e00839d88a6e62ecbd2553cdb453188df82aecc3bdc9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page