IBM Prerequisite Scanner User Manual page 160

Table of Contents

Advertisement

Table 45. Logging utility functions on UNIX systems (continued)
Function
wrlDebugFuncParam param1
param2
wrlDebugGeneric formatspec
log_str1 log_str2
wrlDebugFunc str
wrlLogFuncStart str
wrlLogFuncExit str
150
Prerequisite Scanner: User's Guide
Description
Passes the param1 and param2parameters
to wrlDebugFunc()
Writes log_str1 and log_str2 strings to
the debug file, formatted by the
formatspec string argument
Passes a tab character and the str input
parameter to wrlDebugGeneric()
Passes the str input parameter to
wrlTraceFuncStart() and
wrlDebugFuncStart()
Passes the str input parameter to
wrlTraceFuncExit() and
wrlDebugFuncExit()
Input parameters
param1 and param2, debug strings that
represent parsed section titles, parsed
qualifiers or parsed input arguments to
called functions. For example:
`wrlDebugFuncParam "OSArch" "$3"`
v log_str1 and log_str2, strings that
represent specific data to log on a line
in the debug file
v formatspec, the string argument to
place after the timestamp but before the
left alignment of the log strings and
newline character
For example:
`wrlDebugGeneric "" "$1" "$2"`
str, string that represents data to log, that
is, the status of a check or an action being
performed. For example:
`wrlDebugFunc "Reading config file and
parsing using parse array..." `
str, string that represents data to log, that
is, the name of the function being called.
For example:
`wrlLogFuncStart "main()"`
str, string that represents data to log, that
is, the name of the function being exited.
For example:
`wrlLogFuncExit "main()"`

Advertisement

Table of Contents
loading

Table of Contents