Simple python logger
Project description
ZOOM LOG
Simple python logger
Quick start:
from zoomlog import Logger, DEBUG, INFO
logger = Logger("test.log", name="test", level=DEBUG)
logger.debug("My logger is work!")
name = "Sergey"
logger.addLevel("NEW USER", INFO)
logger.log("NEW USER", "Created new user - %s" % name)
00:00:00 01.01.22 DEBUG:test >> My logger is work!
00:00:01 01.01.22 NEW USER:test >> Created new user - Sergey
test.log
00:00:00 01.01.22
00:00:00 01.01.22 DEBUG:test >> My logger is work!
00:00:01 01.01.22 NEW USER:test >> Created new user - Sergey
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
Built Distribution
Close
Hashes for zoomlog-ZOOM-DEVELOPER-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e1afd8176409ab2625a740e4a62be392396eda202b4338ef35acd213f2984b |
|
MD5 | 6746ea7a3b126c98fa26882c684350a6 |
|
BLAKE2b-256 | 527ed6c6e0de1586e85be17147b0ff9913676a6f6cce6c394b2b6d37f5815db8 |
Close
Hashes for zoomlog_ZOOM_DEVELOPER-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1514eb05d2e8b3f85f27f8a878a961042aa0fabcab26a66ba7625493133d24 |
|
MD5 | ba8a50df4c08c513fddb60dcc5b7f80c |
|
BLAKE2b-256 | 097b7153762050b33e26ef997905c11f7469c3e94a171ca00d30929e3413b0ea |