We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I'd like to use more human readable format like RFC 3339. Is it possible?
The text was updated successfully, but these errors were encountered:
For v7 you need to implement your own custom json sink with the desired formatting
copy paste this class https://github.com/odygrd/quill/blob/master/include/quill/sinks/JsonFileSink.h
Or this class
https://github.com/odygrd/quill/blob/master/include/quill/sinks/JsonConsoleSink.h
And provide your own formatting eg here
quill/include/quill/sinks/JsonConsoleSink.h
Line 74 in 25389ad
Here is an example using a custom sink (in your case the copy pasted json sink)
quill/examples/user_defined_sink.cpp
Line 81 in 25389ad
There is an implemented change for v8 that lets you customise that without having to duplicate
quill/include/quill/sinks/JsonSink.h
Line 101 in e6415fc
Let me know if you need any further help
Sorry, something went wrong.
Thanks a lot, I'll do what you have suggested till v8 is released.
No branches or pull requests
Hi!
I'd like to use more human readable format like RFC 3339. Is it possible?
The text was updated successfully, but these errors were encountered: