We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting strange results with the MultiLevelWriter logger. For example in this case:
package main import ( "github.com/rs/zerolog" "os" ) func main() { multi := zerolog.MultiLevelWriter(zerolog.Nop(), zerolog.New(os.Stdout)) logger := zerolog.New(multi) logger.Info().Msg("Hello World!") }
I get:
{"message":"{\"level\":\"info\",\"message\":\"Hello World!\"}"}
It looks like it's wrapping the log within a message. Am I doing something wrong or this is working as expected?
The text was updated successfully, but these errors were encountered:
Please search previous closed issues, this has been explained already.
Sorry, something went wrong.
I did search for this but somehow missed #361. I see the issue now. Thanks.
No branches or pull requests
I'm getting strange results with the MultiLevelWriter logger.
For example in this case:
I get:
It looks like it's wrapping the log within a message.
Am I doing something wrong or this is working as expected?
The text was updated successfully, but these errors were encountered: