示例#1
0
 /// <summary>
 /// Adds a error entry to the log. It depends on the debug settings if the entry is also added to the text log.
 /// </summary>
 public void LogError(string message, bool trace = true)
 {
     DebugManager.WriteToLog(message, LogType.Error, trace);
 }
示例#2
0
 /// <summary>
 /// Adds a warning entry to the log. It depends on the debug settings if the entry is also added to the text log.
 /// </summary>
 public void LogWarning(string message, bool trace = true)
 {
     DebugManager.WriteToLog(message, LogType.Warning, trace);
 }