Skip to content

Kiber2009/yourlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple python logger

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages