You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it does not work because syslog_prio_from_level is not virtual. If syslog_levels_ was protected and/or modifiable from the public interface I could also make it work.
So, being stuck I had to copy-paste-adapt the whole class.
I'd understand if you don't really want to support this weird use case but with a tiny bit of modifications I could drop the custom class entirely.
The text was updated successfully, but these errors were encountered:
Hello,
I'm using spdlog on a device where syslog is weirdly configured: no LOG_TRACE/LOG_DEBUG support. I cannot change this.
So my idea was to reuse https://github.com/gabime/spdlog/blob/v1.x/include/spdlog/sinks/syslog_sink.h like so
But it does not work because
syslog_prio_from_level
is not virtual. Ifsyslog_levels_
was protected and/or modifiable from the public interface I could also make it work.So, being stuck I had to copy-paste-adapt the whole class.
I'd understand if you don't really want to support this weird use case but with a tiny bit of modifications I could drop the custom class entirely.
The text was updated successfully, but these errors were encountered: