A Sandcastle Documented Class Library
LoggingExtensionsDebug Method |
Logs debug message to Logger
Namespace: Tego.Logging
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public static void Debug( this ILogger log, Func<string> messageProvider )
<ExtensionAttribute> Public Shared Sub Debug ( log As ILogger, messageProvider As Func(Of String) )
public: [ExtensionAttribute] static void Debug( ILogger^ log, Func<String^>^ messageProvider )
[<ExtensionAttribute>] static member Debug : log : ILogger * messageProvider : Func<string> -> unit
Parameters
- log
- Type: Tego.LoggingILogger
Logger - messageProvider
- Type: SystemFuncString
Message Provider function
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also