Skip to content

juhulian/custom_py_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom_py_logger

yet a other wrapper for python2-print ;-)

log-levelz

  1. error, warning, info(2), debug(2) (default)
  2. error, warning, info(2)
  3. error, warning
  4. error
  5. (nothing)
    from custom_py_logger import logger

    class MyClass:
         def __init__(self):
             self.log = logger.Log(self.__class__.__name__, level=1)
             self.log.debug("hello")  #
             self.log.info2("hello")  # 18:41:04 MyClass [ii] hello

About

customizable python logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages