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
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
inspy-logger-1.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for inspy_logger-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1390bcf14c5408da0f00e0e993f9e76547f8d3d745ca4dd7f4a5e7b13cfdd810 |
|
MD5 | d008f9e277fcdd69fade9d4e482fe758 |
|
BLAKE2b-256 | d1ad4364fea51b13ced18778e3e10112a7f2eb69b19f589788ee10d664ba6f09 |