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.3.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file meowthlogger-2.3.tar.gz
.
File metadata
- Download URL: meowthlogger-2.3.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 | ea19845e7f4df9f942d92301deb81a027ef1e919325476962a6c7d360734796e |
|
MD5 | d755302e09d18eac3eceef45ff8b683a |
|
BLAKE2b-256 | 8dc681133782e36a150230a86c6593545f85d87ccfb80ad547ae3a7a4222bb56 |
File details
Details for the file MeowthLogger-2.3-py3-none-any.whl
.
File metadata
- Download URL: MeowthLogger-2.3-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 | a22259a8c28492a230f4cb94d70307dae1efdbeea99b7dd476e6f164110974fe |
|
MD5 | cf12ce1c03a40a925b27c867d2bfab8e |
|
BLAKE2b-256 | bc95ab05fa4fe1542de88458ee2058c37a6a1260011e72ba1c1ce37738e51929 |