LoggerManager.GetLevelSwitch method

Get the current minimum level for a named logger’s switch.

public static LogEventLevel? GetLevelSwitch(string name)
parameter description
name The name of the logger.

Return Value

The current minimum level, or null if the logger or switch is not found.

See Also