示例#1
0
 public MariLogger(string name, IConfigurationSection configuration, MariLoggerSender sender)
 {
     _configuration = configuration;
     Name           = name;
     _sender        = sender;
 }
示例#2
0
 public MariLoggerProvider(MariLoggerConfig config, IConfigurationSection configuration)
 {
     _config        = config;
     _loggers       = new ConcurrentDictionary <string, MariLogger>();
     _configuration = configuration;
     _sender        = new MariLoggerSender(default);