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

config console log to write to stderr #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kevinlynx
Copy link

hi, jeanphorn, in my log4go project, i want to write some logs on the console, but also i want my project (a cli tool) 's output can be redirect by linux/mac pipe to other tools. E.g: my-tool -f dot | dot -T png . So the simple way is to config log4go console logger to write logs to stderr instead stdout, by json config right now.

Thanks.

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

Successfully merging this pull request may close these issues.

1 participant