/// <summary> /// 构造函数 /// </summary> /// <param name="config">配置对象</param> public ConsoleAppender(BaseConfig config) : base(config) { this._consoleAppenderConfig = (ConsoleAppenderConfig)base._config; }
/// <summary> /// 构造函数 /// </summary> /// <param name="ele">配置元素</param> public ConsoleAppender(XElement ele) : base(ele) { this._consoleAppenderConfig = (ConsoleAppenderConfig)base._config; }