3#include "xmsdk_export.h"
20 using LogCallback = std::function<void(
const Severity&,
const std::wstring&)>;
37 void XMSDK_EXPORT SetLogOutputFolder(
const std::wstring& path);
44 void XMSDK_EXPORT SetLogSeverity(
const Severity& severity);
51 Severity XMSDK_EXPORT GetLogSeverity();
60 std::wstring XMSDK_EXPORT GetLogTypeString(
const Severity& severity);
71 void XMSDK_EXPORT SetLogCallBack(
const LogCallback& callback);
84 void XMSDK_EXPORT Log(
const Severity severity,
const std::wstring message,
85 const char* i_file,
const size_t& i_line,
const char* i_functionName);