public ElmLoggerProvider(ElmStore store, IOptions <ElmOptions> options) { if (store == null) { throw new ArgumentNullException(nameof(store)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _store = store; _options = options.Value; }
public ElmPageMiddleware(RequestDelegate next, IOptions <ElmOptions> options, ElmStore store) { _next = next; _options = options.Value; _store = store; }
public ElmCaptureMiddleware(RequestDelegate next, ILoggerFactory factory, IOptions <ElmOptions> options) { _next = next; _options = options.Value; _logger = factory.CreateLogger <ElmCaptureMiddleware>(); }
public ElmLogger(string name, ElmOptions options, ElmStore store) { _name = name; _options = options; _store = store; }