Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a formatted error to the log. This special log type expects a list of strings and formats them.
 /// <para>The first entry is always the name of the object itself. Its parsed in bold and brackets.</para>
 /// <para>All subsequent entries are simply parsed as strings with whitespace between them.</para>
 /// </summary>
 public void LogFormat(params string[] list)
 {
     DebugManager.LogFormat(list);
 }
Ejemplo n.º 3
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);
 }