-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature request: Log formatting #6
Comments
This is an interesting idea. It might be possible with the current version of ZeroRegs, since |
In this example we create a custom Stream& which wraps the output lines. This hopefully addresses feature request #6.
Yeah I think you can do this yourself by creating a |
In this example we create a custom Stream& which wraps the output lines. This hopefully addresses feature request #6.
Thanks for the example. I haven't had a chance yet to test it out but I should have some time next week to try it. |
In this example we create a custom Stream& which wraps the output lines. This hopefully addresses feature request #6.
It would be helpful if a timestamp could be added and the output could be formatted as logfmt.
https://www.brandur.org/logfmt
ie:
<timestamp> <key1>=<value1> <key2>=<value2> ...
example:
[1234] level=info msg="<insert zeroregs info here">"
The text was updated successfully, but these errors were encountered: