mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-15 10:12:06 +08:00
Updated example
This commit is contained in:
parent
1030243d27
commit
6f1d01355d
@ -228,7 +228,7 @@ void err_handler_example() {
|
||||
|
||||
// syslog example (linux/osx/freebsd)
|
||||
#ifndef _WIN32
|
||||
#include "spdlog/sinks/syslog_sink.h"
|
||||
#include "spdlog/sinks/syslog_sink.h"
|
||||
void syslog_example() {
|
||||
std::string ident = "spdlog-example";
|
||||
auto syslog_logger = spdlog::syslog_logger_mt("syslog", ident, LOG_PID);
|
||||
|
Loading…
Reference in New Issue
Block a user