Ejemplo n.º 1
0
 /// <summary>
 /// Logs a basic message to the console after checking the lowest severity.
 /// </summary>
 /// <param name="message">The message text.</param>
 /// <param name="severity">The severity level (defaults to Info).</param>
 protected override void LogRaw(string message, LogSeverity severity = LogSeverity.Info)
 {
     lock (ConsoleLock)
         Console.WriteLine(MessageFormat.StandardTimestamp(message, severity));
 }
Ejemplo n.º 2
0
 protected override void LogRaw(string message, LogSeverity severity = LogSeverity.Info)
 {
     InternalMessages.Add(MessageFormat.StandardTimestamp(message, severity));
 }