Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for blaster-logger, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size blaster_logger-0.1.0-py3-none-any.whl (2.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size blaster_logger-0.1.0.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page