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

added align option for log format #622

Closed
Kikobeats opened this issue May 6, 2015 · 2 comments
Closed

added align option for log format #622

Kikobeats opened this issue May 6, 2015 · 2 comments

Comments

@Kikobeats
Copy link
Contributor

because read this:

debug:  » isCached? true
info:   » stream:end
info:
info:   » total users proccesed: 5
info:   » total invalid users: 2
info:   » total new report generated for valid users: 0

is more fancy than read this:

debug: » isCached? true
info: » stream:end
info:
info: » total users proccesed: 5
info: » total invalid users: 2
info: » total new report generated for valid users: 0

Because the length of the log level is different. Basically adding a align:true flag and add a \t between log label and message content align all the logs.

what do you think?

@Kikobeats
Copy link
Contributor Author

PR in #623

@indexzero
Copy link
Member

Going to close this so we can discuss on the PR.

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

2 participants