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