aboutsummaryrefslogtreecommitdiff
path: root/primedev/dedicated/dedicatedlogtoclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/dedicated/dedicatedlogtoclient.h')
-rw-r--r--primedev/dedicated/dedicatedlogtoclient.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/primedev/dedicated/dedicatedlogtoclient.h b/primedev/dedicated/dedicatedlogtoclient.h
new file mode 100644
index 00000000..82f4c56b
--- /dev/null
+++ b/primedev/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;
+};