Ejemplo n.º 1
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of 'Error'.
 ///  This function also accepts arguments like the function `String.Format()`.
 /// </summary>
 /// <param name="format">Format specification. See `String.Format()`</param>
 /// <param name="arguments">Optional arguments.</param>
 public static void error(string format, params object[] arguments)
 {
     Logging.log(LogSeverity.error, string.Format(format, arguments));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of 'Trace'.
 ///  This function also accepts arguments like the function `String.Format()`.
 /// </summary>
 /// <param name="format">Format specification. See `String.Format()`</param>
 /// <param name="arguments">Optional arguments.</param>
 public static void trace(string format, params object[] arguments)
 {
     Logging.log(LogSeverity.trace, string.Format(format, arguments));
 }
Ejemplo n.º 3
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of `Error`.
 /// </summary>
 /// <param name="message">Log message.</param>
 public static void error(string message)
 {
     Logging.log(LogSeverity.error, message);
 }
Ejemplo n.º 4
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of `Warn`.
 /// </summary>
 /// <param name="message">Log message.</param>
 public static void warn(string message)
 {
     Logging.log(LogSeverity.warn, message);
 }
Ejemplo n.º 5
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of `Info`.
 /// </summary>
 /// <param name="message">Log message.</param>
 public static void info(string message)
 {
     Logging.log(LogSeverity.info, message);
 }
Ejemplo n.º 6
0
 /// <summary>
 ///  Sends a message to the log with the implied severity of `Trace`.
 /// </summary>
 /// <param name="message">Log message.</param>
 public static void trace(string message)
 {
     Logging.log(LogSeverity.trace, message);
 }