Log a message with parameters using a resource file.
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 name, string key, Object[] arg ) |
Visual Basic (Declaration) |
---|
Public Sub Log ( _ logLevel As Logger..::.Level, _ className As String, _ methodName As String, _ name As String, _ key As String, _ arg As Object() _ ) |
Visual C++ |
---|
public: void Log( Logger..::.Level logLevel, String^ className, String^ methodName, String^ name, String^ key, 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.
- name
- Type: System..::.String
The name of the resource bundle within the IMSL C# Library.
- key
- Type: System..::.String
The key for the message string in the resource bundle.
- 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"