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