No project description provided
Project description
Blaster Logger
Turn-key logging solution based on loguru
Installation
pip install blaster_logger
Usage
As logger
from blaster_logger import log
log.debug('This is DEBUG level message')
log.info('This is INFO level message')
log.warning('This is a warning')
log.error('This is an error message')
log.critical('This is a critical level message')
try:
raise RuntimeError('Error message')
except RuntimeError as e:
log.trace(e) # This is a traceback log
As decorator
from blaster_logger import log
@log.this
def some_func(x):
return x * 2
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
blaster_logger-0.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for blaster_logger-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08eba6459636429dae622013a4d7b9f3e9783e7db509f3377168e99ef1b0482a |
|
MD5 | ce1e41916aeb57b240fc4307a8146e41 |
|
BLAKE2b-256 | bca9e5a1d3deed75ad0a279603436854deaa3bfb581a838209dcebfd72dd9957 |