Write() public method

public Write ( string name, LogLevel messageLevel, string message ) : void
name string
messageLevel LogLevel
message string
return void
 /// <summary>
 /// Constructs an instance of <see cref="ILoggerFactory" /> for use by <see cref="LogManager.Use{T}" />.
 /// </summary>
 protected override ILoggerFactory GetLoggingFactory()
 {
     var loggerFactory = new DefaultTestingLoggerFactory(level.Value, writer.Value);
     var message = $"Logging to testing logger with level {level}";
     loggerFactory.Write(GetType().Name, LogLevel.Info, message);
     return loggerFactory;
 }
        /// <summary>
        /// Constructs an instance of <see cref="ILoggerFactory" /> for use by <see cref="LogManager.Use{T}" />.
        /// </summary>
        protected override ILoggerFactory GetLoggingFactory()
        {
            var loggerFactory = new DefaultTestingLoggerFactory(level.Value, writer.Value);
            var message       = $"Logging to testing logger with level {level}";

            loggerFactory.Write(GetType().Name, LogLevel.Info, message);
            return(loggerFactory);
        }
 public void Fatal(string message, Exception exception)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Error, message + Environment.NewLine + exception);
 }
 public void FatalFormat(string format, params object[] args)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Fatal, string.Format(format, args));
 }
 public void Fatal(string message)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Fatal, message);
 }
 public void Error(string message)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Error, message);
 }
 public void Warn(string message)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Warn, message);
 }
 public void Info(string message)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Info, message);
 }
 public void Debug(string message)
 {
     DefaultTestingLoggerFactory.Write(name, LogLevel.Debug, message);
 }