public Log4netClientModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings) { _options = this.JimuAppSettings.GetSection(typeof(JimuLog4netOptions).Name).Get <JimuLog4netOptions>(); if (_options != null) { _log4NetLoggerFactory = new Log4netLoggerFactory(_options); } }
public Log4netServerModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings) { _options = this.JimuAppSettings.GetSection("JimuLog4netOptions").Get <JimuLog4netOptions>(); if (_options != null) { _log4NetLoggerFactory = new Log4netLoggerFactory(_options); } }