We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d328b3c commit 047a6edCopy full SHA for 047a6ed
1 file changed
log/log.go
@@ -93,6 +93,7 @@ func WithAttributes(attrs ...Attr) Option {
93
}
94
95
96
+// WithFormat sets the format of the log output.
97
func WithFormat(format Format) Option {
98
return func(l *Logger) {
99
l.format = format
0 commit comments