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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zoomlog-1.1.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
zoomlog-1.1-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file zoomlog-1.1.tar.gz.
File metadata
- Download URL: zoomlog-1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a35e5936af586c55bf6df26e75aaf50b7984984eff068bb08a0827b11abcc2
|
|
| MD5 |
ab662af2755d4d65a511aebec2a73516
|
|
| BLAKE2b-256 |
60c50bc29ae77e40af66d6af398815e288a200762455816b26f9a91d8d721f3e
|
File details
Details for the file zoomlog-1.1-py3-none-any.whl.
File metadata
- Download URL: zoomlog-1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ff55e455d3996b99c46f0984dd4932ebc331a8e443014e093f3403e3ca8c30
|
|
| MD5 |
40da4b5de339433f6d2f6c3174922d96
|
|
| BLAKE2b-256 |
d1ac71f4a3f49949ee9aa467db2b9b846fcaf66b80b5134b195562ebb7296b02
|