Ejemplo n.º 1
0
 public SqliteLogger(string name, SqliteLoggerWriter fileLoggerWriter)
 {
     _name             = string.IsNullOrEmpty(name) ? nameof(SqliteLogger) : name;
     _filter           = fileLoggerWriter.Options.Filter ?? ((category, logLevel) => true);
     _fileLoggerWriter = fileLoggerWriter;
 }
 public SqliteLoggerProvider(SqliteLoggerOptions options)
 {
     _options          = options;
     _fileLoggerWriter = new SqliteLoggerWriter(options);
 }