mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
日志优化
This commit is contained in:
@@ -79,6 +79,7 @@ func New(strLevel string, pathname string, flag int) (*Logger, error) {
|
||||
baseFile = file
|
||||
} else {
|
||||
baseLogger = log.New(os.Stdout, "", flag)
|
||||
OpenConsole = false
|
||||
}
|
||||
// new
|
||||
logger := new(Logger)
|
||||
|
||||
Reference in New Issue
Block a user