Bewerken

Delen via


LogManager.AddTraceLevelOverride(String, Severity) Method

Definition

Add a new trace level override for a particular logger, beyond the default log levels. Any previous trace levels for other Logger's will not be changed.

public static void AddTraceLevelOverride (string prefix, Orleans.Runtime.Severity level);
static member AddTraceLevelOverride : string * Orleans.Runtime.Severity -> unit
Public Shared Sub AddTraceLevelOverride (prefix As String, level As Severity)

Parameters

prefix
String

The logger names (with prefix matching) that this new log level should apply to.

level
Severity

The new log level to use for this logger.

Applies to