/// <summary> /// Flushes the buffers. /// </summary> public static void Flush() { ExecuteRead(() => _loggers.ForEach(logger => logger.Value.Flush())); }
/// <summary> /// Log the event to each of the loggers. /// </summary> /// <param name="logEvent"></param> public override void Log(LogEvent logEvent) { // Log using the readerlock. ExecuteRead(() => _loggers.ForEach(logger => logger.Value.Log(logEvent))); }