Exemplo n.º 1
0
 /// <summary>
 /// Logs a formatted error message to the root logger
 /// </summary>
 /// <param name="format"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public void LogError(string format, params object[] args) => RootLogger.Write(LogType.Error, format, args);
Exemplo n.º 2
0
 /// <summary>
 /// Logs a formatted warning message to the root logger
 /// </summary>
 /// <param name="format"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public void LogWarning(string format, params object[] args) => RootLogger.Write(LogType.Warning, format, args);
Exemplo n.º 3
0
 /// <summary>
 /// Logs a formatted info message to the root logger
 /// </summary>
 /// <param name="format"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public void LogInfo(string format, params object[] args) => RootLogger.Write(LogType.Info, format, args);
Exemplo n.º 4
0
 /// <summary>
 /// Logs a formatted debug message to the root logger
 /// </summary>
 /// <param name="format"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public void LogDebug(string format, params object[] args) => RootLogger.Write(LogType.Debug, format, args);
Exemplo n.º 5
0
 /// <summary>
 /// Logs a formatted debug message to the root logger
 /// </summary>
 /// <param name="format"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public void LogDebug(string format, params object[] args) => RootLogger.Write(LogType.Warning, $"[DEBUG] {format}", args);