Skip to main content

A logging library, intending to simplify the use of logger and easy to configure and implements.

Project description

[logo](https://raw.githubusercontent.com/H2Sxxa/logng/main/doc/logo.png)

LogNG

python size license

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.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

logng-0.1.3-py3-none-any.whl (6.5 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