LoggerExtensionsLogDebug(ILogger, String, Object) Method |
Formats and writes a debug log message
Namespace: SimphonyPosApi.LoggingAssembly: PosCore (in PosCore.dll) Version: 19.8
Syntaxpublic static void LogDebug(
this ILogger logger,
string message,
params Object[] args
)
Parameters
- logger ILogger
- the logger to write to
- message String
- format string of log message in using string format
Example"some data {0}", someValue
- args Object
- array of zero or more object to format
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