Table of Contents

log

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Print to the System Log (or optional file)

Description

log ( string $output [, string $file ] )

This function places an entry in the default system log /logs/log.txt or in the specified file.

Parameters

$output: A string to place in the log file

$file: Optional, log file name

Return Values

None

Example

<?
  log("This is a log message");
?>

See Also

debug() - Print to debug output

debugout() - Enable or disable debug messages

error_reporting() - Set the debug output level

print() - Print data to the current output stream such as a web page or terminal