We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f439d7 commit 20183a4Copy full SHA for 20183a4
platform/common/services/logging/logger.go
@@ -36,7 +36,7 @@ type Logger interface {
36
Warnw(format string, args ...interface{})
37
Warningf(format string, args ...interface{})
38
Errorw(format string, args ...interface{})
39
- With(args ...string) Logger
+ With(args ...interface{}) Logger
40
Zap() *zap.Logger
41
}
42
@@ -77,6 +77,6 @@ func (l *logger) Named(name string) Logger {
77
return &logger{FabricLogger: l.FabricLogger.Named(name)}
78
79
80
-func (l *logger) With(args ...string) Logger {
81
- return &logger{FabricLogger: l.FabricLogger.With(args)}
+func (l *logger) With(args ...interface{}) Logger {
+ return &logger{FabricLogger: l.FabricLogger.With(args...)}
82
0 commit comments