Provides extensions for ILogger.
Inheritance HierarchySystemObject
RAYLASE.SharedLoggerExtensions
Namespace: RAYLASE.SharedAssembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.58.0
Syntaxpublic static class LoggerExtensions
The LoggerExtensions type exposes the following members.
Methods| | Name | Description |
|---|
 | Invoked |
Logs "TypeName.MemberName(): Invoked. details" with the given level and, in debug builds, writes it with a time stamp to the debug output.
|
 | IsInvokedEnabled |
Returns whether Invoked(ILogger, String, String, LoggingLevel, String) produces any output for the given level, i. e. whether the level is enabled or it is a debug build.
Use it to avoid building expensive arguments of Invoked(ILogger, String, String, LoggingLevel, String) in vain.
|
Top
See Also