Factory to create LogWriter instances.
Default constructor
public Void LogWriterFactory()
Creates a new instance of LogWriter. If there is an invalid configuration, this method returns a LogWriter that is disabled.
public LogWriter Create(optionsSection, options)
A LogWriter.
Name | Type | Summary |
---|---|---|
optionsSection | IConfigurationSection | Options configuration section. |
options | Diagnostics | Options for diagnostics. |
Type | Summary |
---|---|
DiagnosticsException | Thrown the there are configuration errors. |
In this document