Skip to main content

Superb_logger

Superb Logger is a sleek and powerful logging utility built for Python applications.

Basic Usage

from logging import Formatter

from superb_logger import Configurator, Level
from colorlog import ColoredFormatter

colored_formatter = ColoredFormatter(
    "%(log_color)s%(levelname)-8s%(reset)s %(log_color)s%(message)s",
    log_colors={
        'DEBUG':    'light_black',
        'WARNING':  'yellow',
        'ERROR':    'red',
        'CRITICAL': 'red',
    }
)

configurator = Configurator(
    base_level=Level.DEBUG, 
    console_formatter=colored_formatter
)
log = configurator.get_root_logger()
log.debug("Testing")
log.info("Testing")
log.error("Testing")
log.critical("Testing")

License

MIT License — feel free to use it in any project! 🎉

Documentation

https://superb-logger.dkurchigin.ru/

Author

Made with ❤️ by @dkurchigin

Gitverse

https://gitverse.ru/dkurchigin/superb_logger

Metadata

Release files for superb_logger 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for superb_logger 0.2.4
File Size Uploaded
superb_logger-0.2.4.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for superb_logger 0.2.4
File Interpreter ABI Platform
superb_logger-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / superb_logger-0.2.4.tar.gz

Download URL superb_logger-0.2.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f6bc5f9e6fd392473c31249facdb4ba17f54bdd33e15a3ff3fd24a859ac55f33
BLAKE2b-256 checksum
How to use checksums
f8a8d1b72db45901cd19ac63234e2205ba3d89c2e6df0da60ec3193aca9d4f31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.13.7 Linux/5.15.0-144-generic

Release files / superb_logger-0.2.4-py3-none-any.whl

Download URL superb_logger-0.2.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21dfeae100c5890fbf4f97d12dbdeeaa4903798094c0f45cedf0e925fc58f509
BLAKE2b-256 checksum
How to use checksums
d7ca1c4cba35445147574f61c21aee822b559d113eb7f141f8210513bb2c584f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.13.7 Linux/5.15.0-144-generic

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page