An open API service indexing awesome lists of open source software.

https://github.com/blackbeans/log4go

Automatically exported from code.google.com/p/log4go
https://github.com/blackbeans/log4go

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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

true