stderr
sink for error
-level, stdout
sink for other levels
#1854
-
It seems to me like a standard use case to use I was not able to find any docs explaining that SpdLog supports "sinks per level" or the like. As a workaround, I can create two loggers in my code, an "error only"-logger and an "all other messages"-logger configure them with But since it looks to me like the "most standard use case", I feel like I'm doing something wrong here... Any hints? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
spdlog supports setting level per sink |
Beta Was this translation helpful? Give feedback.
spdlog supports setting level per sink