Click or drag to resize
ColouredConsoleLogProviderMessageFormatterDelegate Delegate
A delegate returning a formatted log message

Namespace: Hangfire.Logging.LogProviders
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public delegate string MessageFormatterDelegate(
	string loggerName,
	LogLevel level,
	Object message,
	Exception e
)

Parameters

loggerName
Type: SystemString
The name of the Logger
level
Type: Hangfire.LoggingLogLevel
The Log Level
message
Type: SystemObject
The Log Message
e
Type: SystemException
The Exception, if there is one

Return Value

Type: String
A formatted Log Message string.
See Also