aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_omod/src/implementations/Logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_omod/src/implementations/Logger.h')
-rw-r--r--libs/installer_omod/src/implementations/Logger.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/installer_omod/src/implementations/Logger.h b/libs/installer_omod/src/implementations/Logger.h
new file mode 100644
index 0000000..e3d1e7e
--- /dev/null
+++ b/libs/installer_omod/src/implementations/Logger.h
@@ -0,0 +1,17 @@
+#pragma once
+
+using namespace cli;
+
+#include <uibase/log.h>
+
+ref class Logger : OMODFramework::ILogger
+{
+public:
+ static OMODFramework::LoggingLevel OMODLoggingLevel(MOBase::log::Levels level);
+
+ static MOBase::log::Levels MOLoggingLevel(OMODFramework::LoggingLevel level);
+
+ virtual void Init();
+
+ virtual void Log(OMODFramework::LoggingLevel level, System::String^ message, System::DateTime time);
+};