zhaolei
2020-11-20 921de2254ff5712a44ed8575ee8efe34252f6603
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#if !NET45
using Microsoft.Extensions.Logging.Configuration;
using Microsoft.Extensions.Options;
 
namespace Prow.Logging
{
    /// <summary>
    /// 日志配置辅助类
    /// </summary>
    /// <typeparam name="TOptions"></typeparam>
    /// <typeparam name="TProvider"></typeparam>
    public class LoggerProviderConfigureOptions<TOptions, TProvider> : ConfigureFromConfigurationOptions<TOptions> where TOptions : class
    {
        /// <summary>
        /// 默认构造函数
        /// </summary>
        /// <param name="providerConfiguration"></param>
        public LoggerProviderConfigureOptions(ILoggerProviderConfiguration<TProvider> providerConfiguration)
            : base(providerConfiguration.Configuration)
        {
 
        }
    }
}
#endif