com.wrq.vhi.script.api
Interface Logger


public interface Logger

Provides access to the VHI logging facilities. Log messages are placed in the VHI server's log.


Method Summary
 boolean isLogInfoEnabled()
          Checks if informational level logging is turned on.
 boolean isLogWarningEnabled()
          Checks if warning level logging is turned on.
 void logInfoMessage(java.lang.String message)
          Logs an informational message to the log system if logging at the informational level is enabled.
 void logWarningMessage(java.lang.String message)
          Logs a warning message to the log system if logging at a warning level is enabled.
 

Method Detail

isLogInfoEnabled

boolean isLogInfoEnabled()
Checks if informational level logging is turned on.

Returns:
true when informational logging enabled

logInfoMessage

void logInfoMessage(java.lang.String message)
Logs an informational message to the log system if logging at the informational level is enabled.

Parameters:
message - informational message to be sent to log file

isLogWarningEnabled

boolean isLogWarningEnabled()
Checks if warning level logging is turned on.

Returns:
true when warning logging enabled

logWarningMessage

void logWarningMessage(java.lang.String message)
Logs a warning message to the log system if logging at a warning level is enabled.

Parameters:
message - warning message to be sent to log file