private static extern void wLogMsg(LOG_THR level, string str);
public static extern void SetFlushOn(LOG_THR LogSeverity);
private static extern void LogMsg(LOG_THR level, byte[] str);
public static extern void SetMemoryThr(LOG_THR memoryThr);
public static extern void SetConsoleThr(LOG_THR LogSeverity);
public static extern void SetFileThr(LOG_THR fileThr);
public static extern void dlog_set_flush_on(LOG_THR LogSeverity);
public static extern void dlog_set_console_thr(LOG_THR LogSeverity);
public static extern void dlog_set_memory_thr(LOG_THR memoryThr);
public static extern void dlog_set_file_thr(LOG_THR fileThr);