-
-
Notifications
You must be signed in to change notification settings - Fork 677
Closed
Description
GinkgoLogr.Info("Something")
GinkgoLogr.Info("Something else")
Outputs:
Timeline >>
"level"=0 "msg"="Something""level"=0 "msg"="Something else"
...
I would expect it to have a newline after each log call, for readability.
Timeline >>
"level"=0 "msg"="Something"
"level"=0 "msg"="Something else"
...
If we add a newline to the printf here (or change it to println), we get newlines as desired.
Lines 136 to 140 in 9b5078f
func GinkgoLogrFunc(writer *Writer) logr.Logger { | |
return funcr.New(func(prefix, args string) { | |
writer.Printf("%s", args) | |
}, funcr.Options{}) | |
} |
Metadata
Metadata
Assignees
Labels
No labels