summaryrefslogtreecommitdiff
path: root/src/logger_syslog.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-02-20 22:54:56 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-02-20 22:54:56 +0100
commitb4d6df902253637f24647d3db2bc3781d69eec1c (patch)
treed8bf9ac04a270fabdfee1c15628c702471ef8bf5 /src/logger_syslog.hh
parent441cafc7124f633e5abc684e85a11ce3c991f6ae (diff)
Initial commitHEADmain
Diffstat (limited to 'src/logger_syslog.hh')
-rw-r--r--src/logger_syslog.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/logger_syslog.hh b/src/logger_syslog.hh
new file mode 100644
index 0000000..1417edc
--- /dev/null
+++ b/src/logger_syslog.hh
@@ -0,0 +1,14 @@
+#ifndef LOGGER_SYSLOG_HH
+#define LOGGER_SYSLOG_HH
+
+#include <memory>
+#include <string>
+
+#include "logger.hh"
+
+class LoggerSyslog : public Logger {
+ public:
+ static std::unique_ptr<Logger> create(std::string const& prgname);
+};
+
+#endif // LOGGER_SYSLOG_HH