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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logng-0.1.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file logng-0.1.3.tar.gz.

File metadata

  • Download URL: logng-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.9.3.dev9+g49d3ae18 CPython/3.10.12

File hashes

Hashes for logng-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9f34d50ebe4ae056dd663fc29123fa34d30dacbe7f9ba7dc3a46084d8ed83295
MD5 7bbfe64d987027c82ffc5421e77c6241
BLAKE2b-256 a45fa07f15d5690d85250b3cdd5292897c00a9a824e0b3038e666e2d01d9167d

See more details on using hashes here.

File details

Details for the file logng-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: logng-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.9.3.dev9+g49d3ae18 CPython/3.10.12

File hashes

Hashes for logng-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 91286da9ae4f6b927f32794087a756058f79950bb56326d1de25ad4be53d0809
MD5 2a13570c5af43ba777e6104381d8dee2
BLAKE2b-256 b97f96386e8efbed76f187084dcce373a92e3f92c7e616d06b0871d40845aec1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page