bugfixes and updated go.mod
This commit is contained in:
parent
9424084a36
commit
6e317eb08b
300 changed files with 53136 additions and 9719 deletions
|
|
@ -15,6 +15,10 @@ var (
|
|||
debug = false
|
||||
)
|
||||
|
||||
func Stderr() {
|
||||
log = stdlog.New(os.Stderr, "", stdlog.LstdFlags)
|
||||
}
|
||||
|
||||
func InitLogger(cfg core.Config) {
|
||||
debug = cfg.Debug
|
||||
if cfg.LogFile == "-" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue