ILoggerExtensionMethodsLogFormat(ILogger, Exception, LogLevel, String, Object, Object) Method

Definition

Namespace: MFiles.VAF.Configuration.Logging
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public static void LogFormat(
	this ILogger logger,
	Exception exception,
	LogLevel logLevel,
	string format,
	Object firstArg,
	params Object[] otherArgs
)

Parameters

logger  ILogger
 
exception  Exception
 
logLevel  LogLevel
 
format  String
 
firstArg  Object
 
otherArgs  Object
 

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