Categorygithub.com/baidu/go-lib
module
0.0.0-20210902034828-42829d4bdecd
Repository: https://github.com/baidu/go-lib.git
Documentation: pkg.go.dev

# README

go-lib

GitHub GoDoc FOSSA Status

Installation

go get -u github.com/baidu/go-lib

Documentation

Contributing

  • Please create an issue in issue list.
  • Following the golang coding standards.

License

The project is under the Apache 2.0 license. See the LICENSE file for details.

# Packages

No description provided by the author
Usage: import "github.com/baidu/go-lib/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) */.
No description provided by the author
Copyright (c) 2020 Baidu, Inc.
No description provided by the author
No description provided by the author