Skip to main content

A improved logging system for python

Project description

BetterLogs

BetterLogs is a improved logging package for python

Installation

Use the package manager pip to install betterlogs.

pip install betterlogs

Usage

from betterlogs import logger
from colorama import Fore, Style

logger = logger.Logger(name="BetterLogs", base_color=Fore.BLUE, base_style=Style.DIM,
                       time=True, time_color=Fore.BLUE, time_style=Style.BRIGHT)

logger.log("test")
logger.debug("test")
logger.warning("test")
logger.error("test")
logger.critical("test")

Result Result

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

betterlogs-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

betterlogs-0.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

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