Esempio 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));
 }
Esempio 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));
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }