kgb

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2019 License: GPL-3.0

README

kgb

kurdo golang base

Directories

Path Synopsis
log
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL