Click or drag to resize

LoggerExtensions Class

Provides extensions for ILogger.
Inheritance Hierarchy
SystemObject
  RAYLASE.SharedLoggerExtensions

Namespace: RAYLASE.Shared
Assembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.58.0
Syntax
C#
public static class LoggerExtensions

The LoggerExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodInvoked Logs "TypeName.MemberName(): Invoked. details" with the given level and, in debug builds, writes it with a time stamp to the debug output.
Public Extension MethodIsInvokedEnabled 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