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.

  • 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

Example: Setting DebugTemplate

DebugTemplate %c {CALLER0} {MESSAGE} {PAGE} {TAG}

NOTES

AVAILABILITY

DebugTemplate is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 481

['DebugTemplate',    undef,            ''],

AUTHORS

Interchange Development Group

SEE ALSO

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

DocBook! Interchange!