LoggerMessage Class

Definition

Creates delegates that can be later cached to log messages in a performant way.

public static class LoggerMessage
Inheritance
LoggerMessage

Methods

Define(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4,T5,T6>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4,T5,T6>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4,T5>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4,T5>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3,T4>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2,T3>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1,T2>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

Define<T1>(LogLevel, EventId, String, LogDefineOptions)

Creates a delegate that can be invoked for logging a message.

Define<T1>(LogLevel, EventId, String)

Creates a delegate that can be invoked for logging a message.

DefineScope(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1,T2,T3,T4,T5,T6>(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1,T2,T3,T4,T5>(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1,T2,T3,T4>(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1,T2,T3>(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1,T2>(String)

Creates a delegate that can be invoked to create a log scope.

DefineScope<T1>(String)

Creates a delegate that can be invoked to create a log scope.

Applies to

Producto Versiones
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)