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.4.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file meowthlogger-2.4.tar.gz
.
File metadata
- Download URL: meowthlogger-2.4.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0084cf5ee1f08063276dd37ef8db7b8f8ebe8b635b1262eb9a8b6b8cdbab22f |
|
MD5 | 93f57b9266b35c117accd8bd73d556cb |
|
BLAKE2b-256 | bfc0c3cb541cd4fbfb9dbccbf4013edff4431d8c92d298a17738431b84c614b4 |
File details
Details for the file MeowthLogger-2.4-py3-none-any.whl
.
File metadata
- Download URL: MeowthLogger-2.4-py3-none-any.whl
- Upload date:
- Size: 19.2 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 | 26e1b0e9c1a9e3f49966e71674b067d1d607e1a2cdb75d5b8a5c9bb0e1af953e |
|
MD5 | 6336269788ad5b4ea754f92fe1009b2e |
|
BLAKE2b-256 | ad46077991256695edf2b057733e7221526f3fd299df01b9f8663ee4f7f1fd1e |