Skip to content

91583650 1089 a1bb 8543 37e913ea7651

Axel Kesseler edited this page Mar 1, 2023 · 18 revisions

LoggerFactory.CreateLogEventFormatter Method

This method create an instance of ILogEventFormatter.

Namespace: Plexdata.LogWriter.Internals.Factories
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public ILogEventFormatter CreateLogEventFormatter(
	ILoggerSettings settings
)

Parameters

 

settings
Type: Plexdata.LogWriter.Abstraction.ILoggerSettings
An instance of a class implementing interface ILoggerSettings.

Return Value

Type: ILogEventFormatter
An instance of a logging event formatter.

Implements

ILoggerFactory.CreateLogEventFormatter(ILoggerSettings)

Exceptions

 

Exception Condition
ArgumentNullException This exception is thrown if parameter settings is null.

Remarks

This factory method allows creating instances of classes that implement the interface ILogEventFormatter.

See Also

Reference

LoggerFactory Class
Plexdata.LogWriter.Internals.Factories Namespace

Clone this wiki locally