A logging library, intending to simplify the use of logger and easy to configure and implements.
Project description
LogNG
What's this?
A logging library, intending to simplify the use of logger and easy to configure or implement.
Install
pip install logng
How to use
logger
It's a implementation of the ILogger
, with the high configurability.
from logng.logger import Logger, LogConfig
lg = Logger()
lg.info("hello info")
shared
You can implement ILogger
yourself and set the logger here.
from logng.shared import set_logger, info, warn
from logng.logger import Logger, LogConfig
set_logger(Logger())
info("hello")
warn("hello")
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
logng-0.1.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
logng-0.1.2-py3-none-any.whl
(6.5 kB
view hashes)