public void AddMapping(LevelTextStyle mapping) { levelMapping.Add(mapping); }
//private string RenderLoggingEventInternal(LoggingEvent loggingEvent) //{ // var shb = new StringBuilder(loggingEvent.RenderedMessage); // if (loggingEvent.ExceptionObject != null) // { // loggingEvent.GetExceptionString // shb.AppendLine(); // shb.Append(loggingEvent.ExceptionObject.Message); // } // return shb.ToString(); //} public void AddMapping(ColoredConsoleAppender.LevelColors mapping) { levelMapping.Add(mapping); }
public void AddMapping(LevelMappingEntry mapping) { levelMapping.Add(mapping); }
public void AddMapping(LevelTextStyle a_mapping) { m_level_mapping.Add(a_mapping); }
/// <summary> /// Add a mapping of level to color - done by the config file /// </summary> /// <param name="mapping">The mapping to add</param> /// <remarks> /// <para> /// Add a <see cref="T:log4net.Appender.ManagedColoredConsoleAppender.LevelColors" /> mapping to this appender. /// Each mapping defines the foreground and background colors /// for a level. /// </para> /// </remarks> public void AddMapping(LevelColors mapping) { m_levelMapping.Add(mapping); }
/// <summary> /// Add a mapping of level to severity /// </summary> /// <param name="mapping">The mapping to add</param> /// <remarks> /// <para> /// Add a <see cref="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity" /> mapping to this appender. /// </para> /// </remarks> public void AddMapping(LevelSeverity mapping) { m_levelMapping.Add(mapping); }