Colorised logger for python, using logging python lib
Project description
MeowthPxnk Cxstom logger for python!
How this works:
Logs will be steram to console and save to rollover every hour at 00 minutes:
savepath -> ./Logs/YYYY-MM-DD
/HH.00-HH.00
.log
Usage:
import logging
from MeowthLogger import initLogger
initLogger(
filename="logging.log",
encoding="utf-8",
logger_level="INFO"
)
logger = logging.getLogger()
# usage logger ---->
logger.info("INFO")
logger.error("ERROR")
logger.debug("DEBUG")
logger.warning("WARNING")
logger.critical("CRITICAL")
$XOXO$ meowthpxnk
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
meowthlogger-1.1.tar.gz
(6.5 MB
view details)
Built Distribution
File details
Details for the file meowthlogger-1.1.tar.gz
.
File metadata
- Download URL: meowthlogger-1.1.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7fc96c0953826fd054f60675a67d49a93fa7fdd0df42eb7e354eb7dc030e1d |
|
MD5 | 7e77267b16678d8854966d6dc1107440 |
|
BLAKE2b-256 | 28e14b3935332294bf5cef9684812920b19f91b33a652913bc1e381e768fbc49 |
File details
Details for the file meowthlogger-1.1-py3-none-any.whl
.
File metadata
- Download URL: meowthlogger-1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8922ee510bf8010b370a01a97a2fb3211343541717822dbaf325c5a3898ee689 |
|
MD5 | 01fdbc9527356420d8ce7cbdc7d07768 |
|
BLAKE2b-256 | 09c83c623072cd5133e1212f2521eaf183b751349199d9e8192b6c635f8c8179 |