Skip to main content

A module that gives you a formatted logger that is also far more informative than the default logger

Project description

InSPy Logger

Description

InSPy Logger is a library package made for Python3, and is installable in any environment that has access to PIP for Python3 and an internet connection.

*InSPy Logger could work on Python2, but it hasn't been tested as of this writing

Notice

Please read STATEMENT.md in the docs/ directory for some important information that you might want if you're planning on using InSPy Logger as a dependency in any application/library that you plan on maintaining

Usage

import inspy_logger as logger

app_name = str("MyApplication")

log = logger.start(app_name, debug=True)
log.info('This is a log entry of level: INFO')
log.warning('This is a log entry of level: WARNING')
log.debug('This is a log entry of level: DEBUG')

The above code would produce the following log entries in the relative terminal:

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

inspy-logger-1.0.3.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

inspy_logger-1.0.3-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

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