Enrole.traceMax()

The method logs text messages to ISIM trace log (trace.log) with a message severity level of DEBUG_MAX.

Availability
IBM Security Identity Manager 7.0

Synopsis
Enrole.traceMax((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_MAX message to ISIM trace log (trace.log).

Usage
An example to write a trace.log message at DEBUG_MAX level with the component name com.ibm.myExtension and the method name postScriptOfAccountCreate:
    var userName = "Joe"; // below is a single line Enrole.traceMax("com.ibm.myExtension","postScriptOfAccountCreate", "Recording DEBUG_MAX trace message after account creation for user " + userName + ".");

Parent topic: Enrole