LogWriterFactory

Factory to create LogWriter instances.

Namespace:
Inetdev.Diagnostics
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
No
Inherits from:
System.Object

Constructors

LogWriterFactory

Default constructor

Signature:
public Void LogWriterFactory()

Methods

Create

Creates a new instance of LogWriter. If there is an invalid configuration, this method returns a LogWriter that is disabled.

Signature:
public LogWriter Create(optionsSection, options)
Returns

A LogWriter.

Parameters
Name Type Summary
optionsSection IConfigurationSection Options configuration section.
options Diagnostics Options for diagnostics.
Exceptions
Type Summary
DiagnosticsException Thrown the there are configuration errors.

In this document