Commit Graph

8 Commits (66bb651362c1327c8dd08a767ffce36fcb9e7e08)

Author SHA1 Message Date
Arnaud Kapp 67eef26c26 Add a syslog() based sink for Linux.
This commit introduce a new sink: syslog_sink.
This sink is Linux only, and will write log entries to the system
logger, using the syslog() library call.

It is instanciable using spdlog::syslog_logger(name). Note that
the suffix _st or _mt is not present, as syslog() is thread-safe.

I also applied @gabime reviews and added license header.
11 years ago
gabime 5b04fb6850 Remove warning in debian about unused variadic template args 11 years ago
gabi 58688d7d1c Removed close() from sink to have RAII semantics 11 years ago
gabime 7f81eb881d small cleanup 11 years ago
gabime 74aae4f368 readme 11 years ago
gabi 567e85e6d4 bench 11 years ago
gabi 31971bf63b updated example and added more creation functions 11 years ago
gabi c7b8c762fb spdlog 11 years ago