Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public static void Log(Logger.LogSeverity severity, string format, params object[] args)
 {
     Instance.Log(severity, String.Format(format, args));
 }
Esempio n. 5
0
 public static void Log(Logger.LogSeverity severity, string message)
 {
     Instance.Log(severity, message);
 }
Esempio n. 6
0
 public Logger.LogSeverity getLogSeverity()
 {
     Logger.LogSeverity ret = (Logger.LogSeverity)assimp_swigPINVOKE.Logger_getLogSeverity(swigCPtr);
     return(ret);
 }
Esempio n. 7
0
 public void setLogSeverity(Logger.LogSeverity log_severity)
 {
     assimp_swigPINVOKE.Logger_setLogSeverity(swigCPtr, (int)log_severity);
 }