Open sandboxFocus

Method SetMinimalLevelForType

SetMinimalLevelForType(LogLevel, Type, string)

Sets the minimal LogLevel for a specific Type and role.

Declaration
public void SetMinimalLevelForType(LogLevel level, Type type, 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.

Type type

The Type.

string role

The role (typically a value from the LoggingRoles type).

SetMinimalLevelForType(LogLevel, Type)

Sets the minimal LogLevel for a specific Type.

Declaration
public void SetMinimalLevelForType(LogLevel level, Type type)
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.

Type type

The Type.