Log a message with parameters.

Namespace: Imsl
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public void Log(
	Logger..::.Level logLevel,
	string className,
	string methodName,
	string message,
	Object[] arg
)
Visual Basic (Declaration)
Public Sub Log ( _
	logLevel As Logger..::.Level, _
	className As String, _
	methodName As String, _
	message As String, _
	arg As Object() _
)
Visual C++
public:
void Log(
	Logger..::.Level logLevel, 
	String^ className, 
	String^ methodName, 
	String^ message, 
	array<Object^>^ arg
)

Parameters

logLevel
Type: Imsl..::.Logger..::.Level
The Logger.Level of the message. If the logger is set to a lower log level, the message is not logged.
className
Type: System..::.String
The name of the class issuing the log message.
methodName
Type: System..::.String
The name of the method issuing the log message.
message
Type: System..::.String
The string message to log that contains placeholders of the form {0} to contain each element in the parameter list.
arg
Type: array< System..::.Object >[]()[]
An Object array of parameter values.

Remarks

The output of a successful log entry is of the form "ClassName: formatted message"

See Also