DebugTemplate — specify format of debug messages
[time_spec
] | {CALLER0}
... {CALLER9}
| {CATALOG}
| {HOST}
| {MESSAGE}
| {PAGE}
| {REMOTE_ADDR}
| {TAG}
...
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
)