Home > PHP > Function > XSLT (PHP4) > xslt_set_log()

xslt_set_log()

xslt_set_log - Set the log file to write log messages to

Syntax

xslt_set_log (resource $xh, mixed $log)

Arguments

  • xh - The XSLT processor link identifier, created with xslt_create().
  • log - This parameter is either a boolean value which toggles logging on and off, or a string containing the logfile in which log errors too.

Description

This function allows you to set the file in which you want XSLTlog messages to, XSLTlog messages are different than error messages, in that log messages are not actually error messages but rather messages related to the state of the XSLTprocessor. They are useful for debugging XSLT, when something goes wrong.

Version

PHP 4.0.6

Return value

No value is returned.