Directories ¶
Path | Synopsis |
---|---|
Usage: import "github.com/gottingen/kgb/log" // Two log files will be generated in ./log: // test.log, and test.wf.log(for log > warn) // The log will rotate, and there is support for backup count log.Init("test", "INFO", "./log", true, "midnight", 5) log.Logger.Warn("warn msg") log.Logger.Info("info msg") // it is required, to work around bug of log4go time.Sleep(100 * time.Millisecond)
|
Usage: import "github.com/gottingen/kgb/log" // Two log files will be generated in ./log: // test.log, and test.wf.log(for log > warn) // The log will rotate, and there is support for backup count log.Init("test", "INFO", "./log", true, "midnight", 5) log.Logger.Warn("warn msg") log.Logger.Info("info msg") // it is required, to work around bug of log4go time.Sleep(100 * time.Millisecond) |
log4go
Package log4go provides level-based and highly configurable logging.
|
Package log4go provides level-based and highly configurable logging. |
time
|
|
Click to show internal directories.
Click to hide internal directories.