aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_omod/src/implementations/Logger.h
blob: e3d1e7ee5ef1b67895546af1e229c36dae429ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
};