| ColouredConsoleLogProviderMessageFormatterDelegate Delegate |
A delegate returning a formatted log message
Namespace: Hangfire.Logging.LogProvidersAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax public delegate string MessageFormatterDelegate(
string loggerName,
LogLevel level,
Object message,
Exception e
)
Public Delegate Function MessageFormatterDelegate (
loggerName As String,
level As LogLevel,
message As Object,
e As Exception
) As String
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:
StringA formatted Log Message string.
See Also