LoggerManager.TryGetName method
Try to get the name of a registered logger instance.
public static bool TryGetName(ILogger logger, out string? name)
| parameter | description |
|---|---|
| logger | The logger instance. |
| name | The name of the logger, if found. |
Return Value
True if the name was found; otherwise, false.
See Also
- class LoggerManager
- namespace Kestrun.Logging