LoggerLog Method (LoggerLevel, String, String, String) |
Log a message.
Namespace: ImslAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public void Log(
LoggerLevel logLevel,
string className,
string methodName,
string message
)
Public Sub Log (
logLevel As LoggerLevel,
className As String,
methodName As String,
message As String
)
public:
void Log(
LoggerLevel logLevel,
String^ className,
String^ methodName,
String^ message
)
member Log :
logLevel : LoggerLevel *
className : string *
methodName : string *
message : string -> unit
Parameters
- logLevel
- Type: ImslLoggerLevel
The Logger.Level of the message. If the logger is set to a lower log
level, the message is not logged. - className
- Type: SystemString
The name of the class issuing the log message. - methodName
- Type: SystemString
The name of the method issuing the log message. - message
- Type: SystemString
The string message to log.
Remarks The output of a successful log entry is of the form "ClassName: message"
See Also