Debug Logging Method and Description
Arguments
SetIOTimeout
This method sets the internal timeout value, in seconds, to wait on
input from the Application Management Toolkit. The default is 60
seconds.
Attention:
The timeout value is only valid for versions of Perl
that support the four-parameter Select( ) function when read from
STDIN and written to STDOUT. This requirement is supported by
most Perl versions on UNIX and the CYGWIN version on
Windows NT/2000.
See also: _check_input, _get_input
$timeout - integer
SetTmpDir
This method sets the temporary directory name. It is used by the
logging functions to determine the location of the log file.
$dirname - string
GetTmpDir
This method returns the current temporary directory. If not set, the
environment is examined for TMP or TEMP. If not found, it
returns .
No arguments
SetDebugLevel
This method sets the debug logging level, which indicates the
amount of detail provided. The default is 1. A value of 0 (zero)
produces no logging; higher values provide more detail, with 4
giving the most detail.
$level - integer
GetDebugLevel
This method returns the current debug level.
No arguments
LogMsg
This method logs a message to the current log file. The optional
flag is set to indicate no line feeds. The default is to print a line
feed \n with each message. The level specified indicates the
debug level that this message reports.
Message - string level
Int flag - integer
Developing Your Application in Perl
69
Tivoli® SecureWay Application Management Toolkit Guide