LoggerManager.SetLevelSwitch method
Set the minimum level for a named logger’s switch.
public static void SetLevelSwitch(string name, LogEventLevel level)
| parameter | description |
|---|---|
| name | The name of the logger. |
| level | The new minimum level to set. |
Remarks
If the logger or switch does not exist, they will be created.
See Also
- class LoggerManager
- namespace Kestrun.Logging