Skip to content

OlivierGaland/pyog-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyog-log

Simple python logger (multithreading capable)

Installation (-U for upgrade previous version) : pip install og-log [-U]

Usage :

  • from og_log import LOG,LEVEL

Init :

  • LOG.start() : Init package
  • LOG.level(LEVEL.xxx) : Set log level (debug,info,warning,error,fatal), default is debug

Usage :

  • LOG.xxx(text) : Display text (xxx among debug,info,warning,error,fatal)

image