Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add config to redirect error logs to stderr #11

Open
alessandroargentieri opened this issue Apr 15, 2021 · 0 comments
Open

Add config to redirect error logs to stderr #11

alessandroargentieri opened this issue Apr 15, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers type/feature Feature

Comments

@alessandroargentieri
Copy link
Member

alessandroargentieri commented Apr 15, 2021

User Story

As a developer, I would like to redirect Error, Fatal, Panic logs to standard error instead of standard output.

Detailed Description

Create optional configs to perform the routing logic

EnableStdErr()

Take inspiration from:
https://www.systutorials.com/how-to-print-a-line-to-stderr-and-stdout-in-go/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers type/feature Feature
Projects
None yet
Development

No branches or pull requests

1 participant