v1.12.0
FIXED: * logging package on Windows had a non-conformant GetLogger(). While this fix technically breaks API, this was a horribly broken thing so I'm including it as a minor bump instead of major and thus breaking SemVer. Too bad, so sad, deal with it; Go modules have versioning for a reason. The previous logging.GetLogger() behavior on Windows has been moved to logging.GetLoggerWindows().
This commit is contained in:
@@ -124,7 +124,7 @@ func TestDefaultLogger(t *testing.T) {
|
||||
t.Fatalf("error when closing handler for temporary log file '%v': %v", tempfile.Name(), err.Error())
|
||||
}
|
||||
|
||||
if l, err = GetLogger(true, TestLogPrefix, DefaultEventID, logFlags, tempfilePath); err != nil {
|
||||
if l, err = GetLoggerWindows(true, TestLogPrefix, DefaultEventID, logFlags, tempfilePath); err != nil {
|
||||
t.Fatalf("error when spawning default Windows logger via GetLogger: %v", err.Error())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user