Name

DebugTemplate — specify format of debug messages

SYNOPSIS

[[time_spec] | [{CALLER0} ... {CALLER9}] | [{CATALOG}] | [{HOST}] | [{MESSAGE}] | [{PAGE}] | [{REMOTE_ADDR}] | [{TAG}]...]

DESCRIPTION

DebugTemplate, a global directive, allows you to change the format of debug messages. The meaning of the above literal elements is:

  • time_spec - POSIX::strftime() format specifiers. Take a look at the time glossary entry for a complete list. Since the character % is treated as the beginning of a specifier, use %% to insert a literal %.

  • {CALLER0} ... {CALLER9} - members of the caller() list (see caller() Perl function).

  • {CATALOG} - catalog name

  • {HOST} - remote hostname or IP address

  • {MESSAGE} - actual debug message

  • {PAGE} - current page name (MV_PAGE)

  • {REMOTE_ADDR} - remote IP address

  • {TAG} - current tag name (from Vend::Parse)

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

DebugTemplate is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 478

['DebugTemplate',    undef,            ''],

AUTHORS

Interchange Development Group

SEE ALSO

DebugFile(7ic), DEBUG(7ic), DebugHost(7ic)

DocBook! Interchange!