Skip to content
New issue

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

fmt.Print causes the following log operation to be consumed #26

Open
nick-armstrong-helix opened this issue Oct 20, 2022 · 0 comments
Open

Comments

@nick-armstrong-helix
Copy link

Background

fmt.Println, fmt.Printf, etc. all cause the next ctx.Info, ctx.Warn, ctx.WarnReport, ctx.Error, ctx.ErrorReport, etc. to be to be appended to the fmt.Print string.

Furthermore the log level of the consumed statement is lost which mutes warnings and errors. This will also cause a PagerDuty to not be emitted in the case of ErrorReport.

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant