Init configuration from file #3

Merged
jonasfranz merged 11 commits from zeripath/log:nicer-configuration into master 2019-06-08 10:12:22 +00:00
Showing only changes of commit 7ee37ae759 - Show all commits

2
log.go

@ -199,7 +199,7 @@ func IsFatal() bool {
return GetLevel() <= FATAL
}
// Close closes the default logger
// Close closes all the loggers
Outdated
Review

Why not all the loggers?

Why not all the loggers?

Sorry missed changing that comment. Done now.

Sorry missed changing that comment. Done now.
func Close() {
NamedLoggers.Range(func(name string, logger *Logger) bool {
NamedLoggers.Delete(name)