Enrole.traceMid()

Logs text messages to the IBM Verify Identity Governance trace log (trace.log) with a message severity level of DEBUG_MID.

Availability

IBM® Security Identity Manager 6.x

IBM Security Identity Manager 7.0.

Synopsis
Enrole.traceMid((component, method, message);
Arguments
component
The component of the log entry, entered as a String. The component can be any string. Logging can be controlled for components by setting specific log levels in the enRoleLogging.properties file.
method
The string to display in the Method record of the message log. Useful to point where in the script the message originated.
message
The string to represent the contents of the trace message to be written to the log file.
Description
Writes a DEBUG_MID message to the IBM Verify Identity Governance trace log (trace.log).
Usage
An example to write a trace.log message at DEBUG_MID level with the component name com.ibm.myExtension and the method name postScriptOfAccountCreate:
var userName = "Joe";
	// below is a single line
	Enrole.traceMid("com.ibm.myExtension","postScriptOfAccountCreate",
"Recording DEBUG_MID trace message after account creation for user " + userName + ".");