Skip to main content

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


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.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

meowthlogger-1.2.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file meowthlogger-1.2.1.tar.gz.

File metadata

  • Download URL: meowthlogger-1.2.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for meowthlogger-1.2.1.tar.gz
Algorithm Hash digest
SHA256 8ea69c18365d47a7ffab52f5514d1d7c822e525080c9dcc54458196b2ee4ef1a
MD5 c122498ff4eb63b22544e247883cf2aa
BLAKE2b-256 4ab1bfb800be81c67e852b5872624e229d1193fc178d54ce37eccd78ff7e8b5e

See more details on using hashes here.

File details

Details for the file meowthlogger-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for meowthlogger-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb2aee60a761cd4d1f176465e67be7bfe35e7a1ba8d5e6879cb8bc62186fdf28
MD5 5134a4d02e34406d2af75c0b3b4c26db
BLAKE2b-256 aff1dd20a83887afd06834aef74a8851d30e2496d0e3a882a00b27f3f165b497

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page