Пример #1
0
 public static void Log(COLLADALogType type, string msg)
 {
     if (FLogger == null)
     {
         FLogger = new SimpleLogger();
     }
     FLogger.Log(type, msg);
 }
Пример #2
0
            public void Log(COLLADALogType LogType, string Message)
            {
                switch (LogType)
                {
                case COLLADALogType.Debug: System.Diagnostics.Debug.WriteLine("    " + Message); break;

                case COLLADALogType.Message: System.Diagnostics.Debug.WriteLine(" -  " + Message); break;

                case COLLADALogType.Warning: System.Diagnostics.Debug.WriteLine(" *  " + Message); break;

                case COLLADALogType.Error: System.Diagnostics.Debug.WriteLine(" ERR  " + Message); break;
                }
            }
Пример #3
0
        public void Log(COLLADALogType type, string msg)
        {
            switch (type)
            {
            case COLLADALogType.Debug:
                FLogger.Log(LogType.Debug, msg);
                break;

            case COLLADALogType.Message:
                FLogger.Log(LogType.Message, msg);
                break;

            case COLLADALogType.Warning:
                FLogger.Log(LogType.Warning, msg);
                break;

            case COLLADALogType.Error:
                FLogger.Log(LogType.Error, msg);
                break;

            default:
                throw new Exception("Invalid value for COLLADALogType");
            }
        }
Пример #4
0
 public void Log(COLLADALogType LogType, string Message)
 {
     switch (LogType)
     {
         case COLLADALogType.Debug: System.Diagnostics.Debug.WriteLine("    " + Message); break;
         case COLLADALogType.Message: System.Diagnostics.Debug.WriteLine(" -  " + Message); break;
         case COLLADALogType.Warning: System.Diagnostics.Debug.WriteLine(" *  " + Message); break;
         case COLLADALogType.Error: System.Diagnostics.Debug.WriteLine(" ERR  " + Message); break;
     }
 }
Пример #5
0
 public static void Log(COLLADALogType type, string msg)
 {
     if (FLogger == null) {
         FLogger = new SimpleLogger();
     }
     FLogger.Log(type, msg);
 }