DebugLogger Constructors

Definition

Overloads

DebugLogger(String)

Initializes a new instance of the DebugLogger class.

DebugLogger(String, Func<String,LogLevel,Boolean>)

Initializes a new instance of the DebugLogger class.

DebugLogger(String)

Initializes a new instance of the DebugLogger class.

public:
 DebugLogger(System::String ^ name);
public DebugLogger (string name);
new Microsoft.Extensions.Logging.Debug.DebugLogger : string -> Microsoft.Extensions.Logging.Debug.DebugLogger
Public Sub New (name As String)

Parameters

name
String

The name of the logger.

Applies to

DebugLogger(String, Func<String,LogLevel,Boolean>)

Initializes a new instance of the DebugLogger class.

public:
 DebugLogger(System::String ^ name, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
public DebugLogger (string name, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
new Microsoft.Extensions.Logging.Debug.DebugLogger : string * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.Debug.DebugLogger
Public Sub New (name As String, filter As Func(Of String, LogLevel, Boolean))

Parameters

name
String

The name of the logger.

filter
Func<String,LogLevel,Boolean>

The function used to filter events based on the log level.

Applies to