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.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file meowthlogger-2.5.tar.gz
.
File metadata
- Download URL: meowthlogger-2.5.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e7156983185d48de2e47d6debfecbfba37d3405d87438d0eaac9a29e45116cf |
|
MD5 | 81ddeb44271f94888be60e264df97454 |
|
BLAKE2b-256 | 1212fa359fa06d8467b66a5ba068110cc9b745f2f1e6a68c1da2514fe0471848 |
File details
Details for the file MeowthLogger-2.5-py3-none-any.whl
.
File metadata
- Download URL: MeowthLogger-2.5-py3-none-any.whl
- Upload date:
- Size: 19.1 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 | 689926e62073155ce02467d9779e1c6f07f181f8a812bd4f1e35847428739a4b |
|
MD5 | 62fbc6a443b0af093f2cd925773ea0a7 |
|
BLAKE2b-256 | aa1300829f53ff026a98edb82ce2becf927086e75a27ab5e8a7cdd039d44422f |