• Arnaud Kapp's avatar
    Add a syslog() based sink for Linux. · 67eef26c
    Arnaud Kapp authored
    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.
    67eef26c
example.cpp 3.34 KB