A loging 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(LogConfig())
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(LogConfig(locate_back=1)))
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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
logng-0.1.1-py3-none-any.whl
(5.9 kB
view hashes)