Revendor github.com/sirupsen/logrus to v1.0.3
logrus v1.0.3 was the first release that include the change in terminal_windows.go that stops exec'ing "cmd ver" to obtain the version information and rather uses the x/sys/crypto/terminal.IsTerminal on the console fd. On Windows this is a significant performance difference to avoid the additional process activation of the "cmd ver" for each invocation of the shim/runhcs executables. Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
2
vendor/github.com/sirupsen/logrus/exported.go
generated
vendored
2
vendor/github.com/sirupsen/logrus/exported.go
generated
vendored
@@ -31,7 +31,7 @@ func SetFormatter(formatter Formatter) {
|
||||
func SetLevel(level Level) {
|
||||
std.mu.Lock()
|
||||
defer std.mu.Unlock()
|
||||
std.setLevel(level)
|
||||
std.SetLevel(level)
|
||||
}
|
||||
|
||||
// GetLevel returns the standard logger level.
|
||||
|
||||
Reference in New Issue
Block a user