SetLevel(LogLevel)
Sets the minimum LogLevel for which logging is enabled for the current namespace or type and all child namespaces and types.
Declaration
public void SetLevel(LogLevel level)Parameters
| Type | Name | Description |
|---|---|---|
| LogLevel | level | The minimum log level at which logging is still enabled. |