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
- Host: GitHub
- URL: https://github.com/blackbeans/log4go
- Owner: blackbeans
- License: bsd-2-clause
- Created: 2015-03-31T04:04:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T04:01:09.000Z (over 3 years ago)
- Last Synced: 2024-06-19T04:04:44.970Z (almost 2 years ago)
- Language: Go
- Size: 105 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README
- License: LICENSE
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