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-2.5.1.tar.gz
(12.1 kB
view details)
Built Distribution
File details
Details for the file meowthlogger-2.5.1.tar.gz
.
File metadata
- Download URL: meowthlogger-2.5.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa464244e204cff2b0d159d20c81beada85fc88581479f00bdc8906205438b3 |
|
MD5 | e21143850f90e2dd19be205966109435 |
|
BLAKE2b-256 | 1b543f1e2ea9aaf7d761366f31cd2634a4d033a3d6da7c3a2d98ea06121e3150 |
File details
Details for the file MeowthLogger-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: MeowthLogger-2.5.1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 449ef4dcb2a0769540fe9180349d7442ea59d070d495d21d720c5f235a9ba84b |
|
MD5 | 68a1d6048adbbb45caaddd45410c3eee |
|
BLAKE2b-256 | 425fc8fc03180f1c209a6cb2e47eb367d8add963f161e46f237c10b2b0a0b839 |