2.43. log
Log contained text to specified file.
2.43.1. Summary
Parameters: file
- file
- name of file to log to. 'file=">filename"' also sets 'create' attribute.
- create
- Set create=1 to create the file if not present
- process
- Processing (if any) to apply to the content while logging
- nostrip (don't strip leading/trailing whitespace and convert "\r\n" to "\n"
- Processing (if any) to apply to the content while logging
- delim and record_delim
- Line and record delimiters, respectively
- type
- Log type
- text (ordinary text file)
- quot (delimited entries)
- error (add Interchange error formatting and time/location stamps)
- Log type
- hide
- Suppress status otherwise returned by tag to the page.
The attribute hash reference is passed after the parameters but before the container text argument. This may mean that there are parameters not shown here.
Must pass named parameter interpolate=1 to cause interpolation.
This is a container tag, i.e. [log] FOO [/log]. Nesting: NO
Invalidates cache: no
Called Routine:
ASP-like Perl call:
$Tag->log( { file => VALUE, }, BODY ) OR $Tag->log($file, $ATTRHASH, $BODY);
Attribute aliases
arg ==> file
2.43.2. Description
Log contained text to specified file.