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.2.tar.gz
(6.5 MB
view details)
Built Distribution
File details
Details for the file meowthlogger-1.2.tar.gz
.
File metadata
- Download URL: meowthlogger-1.2.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 | 7c5065971d5620e64442e000764d8bf41837cb6188e28041b920d2806d8dad67 |
|
MD5 | a5ab77ffe71a0fa2fed91e614ecd4ac9 |
|
BLAKE2b-256 | 68f5da633fa549c5f88101c42c274c78039a9d4c3cba362d50f83b2f4c0d2a65 |
File details
Details for the file meowthlogger-1.2-py3-none-any.whl
.
File metadata
- Download URL: meowthlogger-1.2-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 | b13dce4aa46faddee01150d79cdef1a1cf6c05e4386dcaad0b6846d8b47800df |
|
MD5 | b02e7b9c2c0311fb142f60499b8028d9 |
|
BLAKE2b-256 | 71f07ec40e8bf39c7ec1fdef78c976902d1e5abdc199a52dc08f1b61179d799e |