public static Logger create(string name, Logger.LogSeverity severity) { global::System.IntPtr cPtr = assimp_swigPINVOKE.DefaultLogger_create__SWIG_2(name, (int)severity); Logger ret = (cPtr == global::System.IntPtr.Zero) ? null : new Logger(cPtr, false); return(ret); }
public static Logger create(string name, Logger.LogSeverity severity, aiDefaultLogStream defStreams, IOSystem io) { global::System.IntPtr cPtr = assimp_swigPINVOKE.DefaultLogger_create__SWIG_0(name, (int)severity, (uint)defStreams, IOSystem.getCPtr(io)); Logger ret = (cPtr == global::System.IntPtr.Zero) ? null : new Logger(cPtr, false); return(ret); }
public void Log(Logger.LogSeverity severity, string message) { var text = String.Format("{0}\t\t{1}\t\t{2}", severity.ToString(), DateTime.Now.ToString(@"hh:mm:ss"), message); Trace.WriteLine(text); }
public static void Log(Logger.LogSeverity severity, string format, params object[] args) { Instance.Log(severity, String.Format(format, args)); }
public static void Log(Logger.LogSeverity severity, string message) { Instance.Log(severity, message); }
public Logger.LogSeverity getLogSeverity() { Logger.LogSeverity ret = (Logger.LogSeverity)assimp_swigPINVOKE.Logger_getLogSeverity(swigCPtr); return(ret); }
public void setLogSeverity(Logger.LogSeverity log_severity) { assimp_swigPINVOKE.Logger_setLogSeverity(swigCPtr, (int)log_severity); }