aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/dedicated/dedicatedlogtoclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/dedicated/dedicatedlogtoclient.h')
-rw-r--r--NorthstarDLL/dedicated/dedicatedlogtoclient.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/NorthstarDLL/dedicated/dedicatedlogtoclient.h b/NorthstarDLL/dedicated/dedicatedlogtoclient.h
new file mode 100644
index 00000000..16f1e584
--- /dev/null
+++ b/NorthstarDLL/dedicated/dedicatedlogtoclient.h
@@ -0,0 +1,11 @@
+#pragma once
+#include "logging/logging.h"
+#include "core/convar/convar.h"
+
+class DedicatedServerLogToClientSink : public CustomSink
+{
+ protected:
+ void custom_sink_it_(const custom_log_msg& msg);
+ void sink_it_(const spdlog::details::log_msg& msg) override;
+ void flush_() override;
+};