Method SetMinimalLevelForNamespace
SetMinimalLevelForNamespace(LogLevel, String, String)
Sets the minimal LogLevel for a specific namespace and role.
Declaration
public void SetMinimalLevelForNamespace(LogLevel level, string ns, [Required] 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 | ns | The namespace. |
String | role | The role (typically a value from the LoggingRoles type). |
SetMinimalLevelForNamespace(LogLevel, String)
Sets the minimal LogLevel for a specific namespace and all roles except system roles.
Declaration
public void SetMinimalLevelForNamespace(LogLevel level, string ns)
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 | ns | The namespace. |