Click or drag to resize

LogExtensionsLogDebug Method (INeonLogger, FuncObject)

Logs a debug message retrieved via a message function.

Namespace:  Neon.Diagnostics
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public static void LogDebug(
	this INeonLogger log,
	Func<Object> messageFunc
)

Parameters

log
Type: Neon.DiagnosticsINeonLogger
The log.
messageFunc
Type: SystemFuncObject
The message function.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type INeonLogger. 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).
Remarks
This method is intended mostly to enable the efficient use of interpolated C# strings.
See Also