Closed tonyho closed 2 years ago
:) Now by default, each log is a separate line of messages. Can be easily output to a file or elsewhere.
:) Now by default, each log is a separate line of messages. Can be easily output to a file or elsewhere.
So the XXXf function family would be a drop-in for fmt.Printf ?
I believe it would be better to leave the decision of newline setting to users, or at least an option should be exposed to users.
Adjusted, released version v0.3.2
System (please complete the following information):
Windows X64
1.18
v0.3.1
Describe the bug
The log function always add an extra newline.
I think that the function end with
f
should have the same behavior asfmt.Printf
, so users can drop-in replace it with slogXXXXf
serial function.Except that, with or without the newline settings in template String should have an effect.
To Reproduce
Expected behavior
The actual output: