Skip to content

kaulketh/python-logger-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date)

python-logger-module

preconfigured logger module as Singleton for python projects

  • creates folder logs in project root (if not exists)
  • shows level DEBUG in terminal/console (stdout)
  • logs level DEBUG into logs/debug.log , only if enabled
  • logs level INFO into logs/info.log
  • logs level ERROR into logs/error.log

Usage

  • Copy/clone logger into project root.
  • import log into Python files/packages/modules
  • Feel free to change!