Replies: 1 comment
-
Yes. but I recommended to inherits See this comment: #1363 (comment) |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm trying to use 3 sinks like this:
and I like all logs will be available in file, error goes to
stderrand info goes tostdout. But sincestderrandstdoutis display by default, I will see 2 similar line of logs from 2 sinks in display. I can solve this problem by using 2 loggers, But I wonder if it is possible to use 1 logger and achieve what I need or not.Should I create custom sink by inheriting from
spdlog::sinks::stdout_color_sink_mtand limiting max log level?Beta Was this translation helpful? Give feedback.
All reactions