Skip to content

blackbeans/log4go

Repository files navigation

Please see http://log4go.googlecode.com/

Installation:
- Run `go install log4go.googlecode.com/hg`

Usage:
- Add the following import:
import l4g "log4go.googlecode.com/hg"

Acknowledgements:
- pomack
  For providing awesome patches to bring log4go up to the latest Go spec
  
  
More Feature:
- log to a file as you define

  log.LoadConfiguration("log.xml")
  exp:
  log.DebugLog("kite_handler",format,args...)
  log.InfoLog("kite_handler",format,args...)
  log.WarnLog("kite_handler",format,args...)
  log.ErrorLog("kite_handler",format,args...)
  
- log rolling by day

  <property name="daily">true</property> 

About

Automatically exported from code.google.com/p/log4go

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages