LoggerManager.Contains method (1 of 3)
Check if a logger, configuration, or name exists.
public static bool Contains(ILogger logger)
| parameter | description |
|---|---|
| logger | The logger instance. |
Return Value
True if the logger exists; otherwise, false.
See Also
- class LoggerManager
- namespace Kestrun.Logging
LoggerManager.Contains method (2 of 3)
Check if a logger, configuration, or name exists.
public static bool Contains(LoggerConfiguration config)
| parameter | description |
|---|---|
| config | The logger configuration instance. |
Return Value
True if the configuration exists; otherwise, false.
See Also
- class LoggerManager
- namespace Kestrun.Logging
LoggerManager.Contains method (3 of 3)
Check if a logger, configuration, or name exists.
public static bool Contains(string name)
| parameter | description |
|---|---|
| name | The name of the logger. |
Return Value
True if the logger exists; otherwise, false.
See Also
- class LoggerManager
- namespace Kestrun.Logging