diff --git a/bindings/utilities.go b/bindings/utilities.go index 96c7b346e6a920109d5678fa9802fe5fdfa37435..7eb109730a21b1c4cc519ee7b1e8d154362f62a0 100644 --- a/bindings/utilities.go +++ b/bindings/utilities.go @@ -5,6 +5,7 @@ import ( "github.com/pkg/errors" jww "github.com/spf13/jwalterweatherman" "google.golang.org/grpc/grpclog" + "log" ) // sets level of logging. All logs the set level and above will be displayed @@ -25,6 +26,7 @@ func LogLevel(level int) error { threshold := jww.Threshold(level) jww.SetLogThreshold(threshold) jww.SetStdoutThreshold(threshold) + jww.SetFlags(log.LstdFlags | log.Lmicroseconds) switch threshold { case jww.LevelTrace: