Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Latest commit

 

History

History
39 lines (34 loc) · 733 Bytes

File metadata and controls

39 lines (34 loc) · 733 Bytes

yourlog

About

yourlog is a simple python logging library

Usage example

import yourlog

logger = yourlog.Logger()

logger.add_listener("lastest.log")
logger.add_listener(print)

logger.debug("Debug there")
logger.info("Info there")
logger.warn("Warn there")
logger.error("Error there")
logger.fatal("Fatal there")

logger.custom("Custom type", "Custom there")

Installing

pip install yourlog

Building from source code

  • Clone the repo
    git clone https://github.com/Kiber2009/yourlog.git
    cd yourlog
  • Make sure you have the latest version of PyPA’s build installed
    python -m pip install --upgrade build
  • Build the lib
    python -m build