Less logging

graph-rework
noah metz 2023-06-19 16:47:32 -06:00
parent 9fd8117169
commit 32434e7dfe
1 changed files with 1 additions and 1 deletions

@ -23,7 +23,7 @@ type DefaultLogger struct {
Components []string Components []string
} }
var log DefaultLogger = DefaultLogger{Loggers: map[string]zerolog.Logger{}, Components: []string{"event"}} var log DefaultLogger = DefaultLogger{Loggers: map[string]zerolog.Logger{}, Components: []string{}}
func (logger * DefaultLogger) Init(components []string) error { func (logger * DefaultLogger) Init(components []string) error {
logger.init_lock.Lock() logger.init_lock.Lock()