Init configuration from file #3
2
log.go
2
log.go
@ -199,7 +199,7 @@ func IsFatal() bool {
|
||||
return GetLevel() <= FATAL
|
||||
}
|
||||
|
||||
// Close closes the default logger
|
||||
// Close closes all the loggers
|
||||
|
||||
func Close() {
|
||||
NamedLoggers.Range(func(name string, logger *Logger) bool {
|
||||
NamedLoggers.Delete(name)
|
||||
|
Reference in New Issue
Block a user
Why not all the loggers?
Sorry missed changing that comment. Done now.