mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:59:33 +08:00
Allow syslog logger on Mac OS X
This commit is contained in:
@@ -78,7 +78,7 @@ std::shared_ptr<logger> stderr_logger_st(const std::string& logger_name);
|
||||
//
|
||||
// Create and register a syslog logger
|
||||
//
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
std::shared_ptr<logger> syslog_logger(const std::string& logger_name, const std::string& ident = "", int syslog_option = 0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user