public void Log(LogLevel level, String str) { int l = 0; switch (level) { case LogLevel.INFO: l = 0; break; case LogLevel.WARNING: l = 1; break; case LogLevel.ERROR: l = 2; break; case LogLevel.FATAL: l = 3; break; } TqsDll.tqs_sc_log(this.handle, l, str); }
public void Log(LogSeverity severity, String str) { int l = 0; switch (severity) { case LogSeverity.INFO: l = 0; break; case LogSeverity.WARNING: l = 1; break; case LogSeverity.ERROR: l = 2; break; case LogSeverity.FATAL: l = 3; break; } TqsDll.tqs_sc_log(this.handle, l, str); }