-
Notifications
You must be signed in to change notification settings - Fork 0
91583650 1089 a1bb 8543 37e913ea7651
Axel Kesseler edited this page Oct 20, 2019
·
18 revisions
This method create an instance of ILogEventFormatter.
Namespace: Plexdata.LogWriter.Internals.Factories
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.5.1
C#
public ILogEventFormatter CreateLogEventFormatter(
ILoggerSettings settings
)
- settings
- Type: Plexdata.LogWriter.Abstraction.ILoggerSettings
An instance of a class implementing interface ILoggerSettings.
Type: ILogEventFormatter
An instance of a logging event formatter.
ILoggerFactory.CreateLogEventFormatter(ILoggerSettings)
Exception | Condition |
---|---|
ArgumentNullException | This exception is thrown if parameter settings is null . |
NotSupportedException | This exception is thrown if provided settings contain an invalid logging type. |
This factory method allows creating instances of classes that implement the interface ILogEventFormatter.
LoggerFactory Class
Plexdata.LogWriter.Internals.Factories Namespace