Example #1
0
 /// <overloads>Log a message with the <see cref="Level.Fatal"/> level.</overloads>
 /// <summary>
 /// Log a message with the <see cref="Level.Fatal"/> level.
 /// </summary>
 /// <param name="message">The message to log.</param>
 public static void Fatal(string message)
 {
     LogCollector.Add(Format(message, "Fatal"));
 }
Example #2
0
 /// <overloads>Log a message with the <see cref="Level.Error"/> level.</overloads>
 /// <summary>
 /// Logs a message with the <see cref="Level.Error"/> level.
 /// </summary>
 /// <param name="message">The message to log.</param>
 public static void Error(string message)
 {
     LogCollector.Add(Format(message, "Error"));
 }
Example #3
0
 /// <overloads>Log a message with the <see cref="Level.Info"/> level.</overloads>
 /// <summary>
 /// Logs a message with the <see cref="Level.Info"/> level.
 /// </summary>
 public static void Info(string message)
 {
     LogCollector.Add(Format(message, "Info"));
 }
Example #4
0
 /// <overloads>Log a message with the <see cref="Level.Warn"/> level.</overloads>
 /// <summary>
 /// Log a message with the <see cref="Level.Warn"/> level.
 /// </summary>
 /// <param name="message">The message to log.</param>
 public static void Warn(string message)
 {
     LogCollector.Add(Format(message, "Warn"));
 }
Example #5
0
 /// <overloads>Log a message with the <see cref="Level.Debug"/> level.</overloads>
 /// <summary>
 /// Log a message with the <see cref="Level.Debug"/> level.
 /// </summary>
 /// <param name="message">The message to log.</param>
 public static void Debug(string message)
 {
     LogCollector.Add(Format(message, "Debug"));
 }