aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/logsink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/logsink.cpp')
-rw-r--r--yage/core/logsink.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/yage/core/logsink.cpp b/yage/core/logsink.cpp
new file mode 100644
index 00000000..1cc8b139
--- /dev/null
+++ b/yage/core/logsink.cpp
@@ -0,0 +1,19 @@
+/* ----------------------------------------------------------------------------
+ * logsink.cpp
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
+ * See file LICENSE for more details
+ * ----------------------------------------------------------------------------
+ */
+
+#include "logsink.h"
+
+namespace yage
+{
+
+void LogSink::write(const LogMessage::Meta &meta, const std::string &msg)
+{
+ wrapper_->write(meta, msg);
+}
+
+} // namespace yage