Method SetMinimalLevel
SetMinimalLevel(LogLevel)
Sets the minimal LogLevel for all namespaces, types, and roles except system roles.
Declaration
public void SetMinimalLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The minimal LogLevel for which logging should be enabled. If this is None, logging won't be enabled at all. |
SetMinimalLevel(LogLevel, String)
Sets the minimal LogLevel for all namespaces and types for a specific role.
Declaration
public void SetMinimalLevel(LogLevel level, string role)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The minimal LogLevel for which logging should be enabled. If this is None, logging won't be enabled at all. |
String | role | The role (typically a value from the LoggingRoles type). |