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


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)

Uploaded source

Built Distribution

blaster_logger-0.1.0-py3-none-any.whl (2.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page