Skip to content

doruchan/hlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

hlog

Born as reseach on the python logging system, hlog is an "almost configured" logging python module, which permits to have:

  • easy debug mode switch
  • color output for all the configuration
  • in case of exception an email will be sent to the destination address listed in the config file
  • debug mode disable the email and redirect it to the standard output

how to

module

To start using it, just include the folder in your PYTHONPATH env:

  • export PYTHONPATH=<path to the hlog source folder>
  • setenv PYTHONPATH <path to the hlog source folder>
  • import sys ; sys.path.insert(0,<path to the hlog source folder>)

email

Modify the email addresses as required:

  • line 41 of config file

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%