Documentation
¶
Overview ¶
Package cli generates human readable text with color and display time in delta. Color and delta can be disabled and output will be same as default handler It does NOT escape quote so it is not machine readable
func main() {
var log, logReg = dlog.NewApplicationLoggerAndRegistry("example")
dlog.SetHandler(logReg, cli.New(os.Stderr, true)) // with color, delta time
}
Index ¶
Constants ¶
View Source
const (
DefaultTimeStampFormat = time.RFC3339
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
