std::ostream Question #494
starlight-traveler
started this conversation in
General
Replies: 1 comment
-
ConsoleSink can output to stdout or stderr. For the desired functionality i would recommend that you provide your own sink and do what you need inside write_log function. You can derive from existing sink or the base sink. there is an example here https://github.com/odygrd/quill/blob/master/examples/user_defined_sink.cpp |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does Quill support putting the ConsoleSink to a stream other than stdout? The ConsoleSink class doesn't seem to expose that in the User'sAPI and unsure of where to look for it.
Simply a pointer in the right direction would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions