/// <summary> /// Initializes a new instance of the <see cref="RedisCacheHandler" /> class. /// </summary> /// <param name="configuration">The configuration.</param> public RedisCacheHandler(RedisCacheHandlerConfiguration configuration) : base(configuration) { this.configuration = configuration; this.log = !string.IsNullOrEmpty(this.configuration.LoggerName) ? LogManager.GetLogger(this.configuration.LoggerName) : LogManager.GetLogger(typeof(RedisCacheHandler)); }
/// <summary> /// Initializes a new instance of the <see cref="RedisCacheHandler" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="log">The log.</param> public RedisCacheHandler(RedisCacheHandlerConfiguration configuration, ILog log) : base(configuration) { this.configuration = configuration; this.log = log; }