protected LoggerRepositorySkeleton(PropertiesDictionary properties)
 {
     this.m_properties            = properties;
     this.m_rendererMap           = new log4net.ObjectRenderer.RendererMap();
     this.m_pluginMap             = new log4net.Plugin.PluginMap(this);
     this.m_levelMap              = new log4net.Core.LevelMap();
     this.m_configurationMessages = EmptyCollection.Instance;
     this.m_configured            = false;
     this.AddBuiltinLevels();
     this.m_threshold = Level.All;
 }
Exemplo n.º 2
0
    /// <summary>
    /// Construct the repository using specific properties
    /// </summary>
    /// <param name="properties">the properties to set for this repository</param>
    /// <remarks>
    /// <para>
    /// Initializes the repository with specified properties.
    /// </para>
    /// </remarks>
    protected LoggerRepositorySkeleton(PropertiesDictionary properties) {
      m_properties = properties;
      m_rendererMap = new RendererMap();
      m_pluginMap = new PluginMap(this);
      m_levelMap = new LevelMap();
      m_configured = false;

      AddBuiltinLevels();

      // Don't disable any levels by default.
      m_threshold = Level.All;
    }
Exemplo n.º 3
0
 static PluginMap()
 {
     _instance = new PluginMap(null);
 }