We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c4d12 commit 1da05ccCopy full SHA for 1da05cc
1 file changed
logging/struct_log.go
@@ -15,9 +15,9 @@ const (
15
func (l *Logger) InfoStruct(format OutputFormat, obj any) {
16
switch format {
17
case Json:
18
- l.Info(l.addHeader("INFO", strings.PrettyPrintJson(obj)))
+ l.Info(l.addHeader("INFO", strings.PrettyPrintJson(obj)), "")
19
case Yaml:
20
- l.Info(l.addHeader("INFO", strings.PrettyPrintYaml(obj)))
+ l.Info(l.addHeader("INFO", strings.PrettyPrintYaml(obj)), "")
21
}
22
23
0 commit comments