Calling the warning method
You can call the warning method in any
of the gateway's source files whenever you want to insert a log
message of type WARNING into the log file specified
in the MessageLog property for this gateway.
The following example shows a call to the warning method:
.
.
.
logger.warning("Unable to determine hostname"); 1
.
.
.
- Calls the
warningmethod, which writes the specified message to the log file specified in the MessageLog property for this gateway.