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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file blaster_logger-0.1.0.tar.gz.

File metadata

  • Download URL: blaster_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.4 Windows/10

File hashes

Hashes for blaster_logger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cc200c3cd3b4c2af419fab515c33193676918cf90a97f70506de1e20477f06b
MD5 629df99b1dc715eb7763c1a7adb66add
BLAKE2b-256 10e1d7f3d884cf976913342ceec129ed1d14126dd57f38f1a716ae6f01dcebef

See more details on using hashes here.

File details

Details for the file blaster_logger-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: blaster_logger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.4 Windows/10

File hashes

Hashes for blaster_logger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08eba6459636429dae622013a4d7b9f3e9783e7db509f3377168e99ef1b0482a
MD5 ce1e41916aeb57b240fc4307a8146e41
BLAKE2b-256 bca9e5a1d3deed75ad0a279603436854deaa3bfb581a838209dcebfd72dd9957

See more details on using hashes here.

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