Reverse the coupling of module log and config #1606

Merged
konrad merged 9 commits from HoffmannP/api:main into main 2023-10-03 09:28:34 +00:00
Showing only changes of commit e5ebc6ede6 - Show all commits

View File

@ -65,6 +65,8 @@ func ConfigLogger(configLogEnabled bool, configLogStandard string, configLogPath
Fatalf("Error setting standard log level %s: %s", lvl, err.Error())
}
logPath = configLogPath
// The backend is the part which actually handles logging the log entries somewhere.
var backend logging.Backend
backend = &NoopBackend{}