peek
Looks at the last diagnostic context at the top of this NDC without
removing it.
The returned value is the value that was pushed last. If no context is
available, then the empty string "" is returned.
Returns:
String The innermost diagnostic context.
pop
Clients should call this method before leaving a diagnostic context.
The returned value is the value that was pushed last.
If no context is available, then the empty string "" is returned.
NOTE: The NDC is removed after every script execution.
Returns:
String The innermost diagnostic context.
push
Push new diagnostic context information for the current script execution.
Parameters:
message
-
- The new diagnostic context information.
remove
remove()
:
void
Remove the diagnostic context for this script call.