• Chris Hiszpanski's avatar
    Update syslog_sink.h · 08f41d4f
    Chris Hiszpanski authored
    Syslog already adds formatting, such as the identifier set with `openlog` in the constructor, the priority, and timestamp -- using the formatted message duplicates this information in the log message. This especially causes problems when the syslog is forwarded to aggregators such as Loggly, Logstash, etc. which can parse log messages which are JSON. However, the duplicated fields which spdlog prepends interfere with this -- better to use `raw` in the syslog case I think, or perhaps add an ability to use custom formatters on individual sinks.
    08f41d4f
Name
Last commit
Last update
..
android_sink.h Loading commit data...
base_sink.h Loading commit data...
dist_sink.h Loading commit data...
file_sinks.h Loading commit data...
null_sink.h Loading commit data...
ostream_sink.h Loading commit data...
sink.h Loading commit data...
stdout_sinks.h Loading commit data...
syslog_sink.h Loading commit data...