A simple yet fancy logger for Python scripts
Project description
python-logger
A simple yet fancy logger for Python scripts
Each log has the following syntax:
{filename}.py:{line} - [INFO-WARNING-DEBUG-ERROR]: log message
Install
- Using pip:
pip install lgg
- Using Poetry:
poetry add lgg
Usage
from lgg import get_logger
logger = get_logger()
logger.info('This is an info message')
logger.debug('Debugging message')
logger.error('error message')
logger.warning('File not found! An empty one is created')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lgg-0.1.5.tar.gz
(2.9 kB
view hashes)
Built Distribution
lgg-0.1.5-py3-none-any.whl
(3.8 kB
view hashes)