Suoranta.EnterpriseLib.Web - Developer API

LogService..::..Log<(Of <(<'TState>)>)> Method

Namespace:  Suoranta.EnterpriseLib.Logging
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public void Log<TState>(
	LogLevel logLevel,
	EventId eventId,
	TState state,
	Exception exception,
	Func<TState, Exception, string> formatter
)

Type Parameters

TState

Parameters

logLevel
Type: LogLevel
eventId
Type: EventId
state
Type: TState
exception
Type: Exception
formatter
Type: Func<(Of <(<'TState, Exception, String>)>)>