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. |
Remarks
This method overrides the verbosity of all namespaces, types and roles.
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). |
Remarks
This method overrides the verbosity of all namespaces and types.