PHP Logging Class 1.2 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News PHP Logging Class 1.2 (Default branch)
# 1  
Old 03-24-2008
PHP Logging Class 1.2 (Default branch)

ImagePHP Logging Class can be used to log activity to adatabase. It can add activity entries to a logdatabase table. It logs the activity prioritylevel and class, the remote user identifier (iflogged), and its computer IP address. Optionally,it can send email about the activities beinglogged to a given email address. It can alsodisplay log entries as an HTML table.License: GNU General Public License (GPL)Changes:
A few enhancements were made in the configurationscript, so now it is easier to configure andinstall. The documentation was improved, includinga readme.txt file and online tutorials.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
XSLT_SET_LOG(3) 							 1							   XSLT_SET_LOG(3)

xslt_set_log - Set the log file to write log messages to

SYNOPSIS
void xslt_set_log (resource $xh, [mixed $log]) DESCRIPTION
This function allows you to set the file in which you want XSLT log messages to, XSLT log messages are different than error messages, in that log messages are not actually error messages but rather messages related to the state of the XSLT processor. They are useful for debugging XSLT, when something goes wrong. By default logging is disabled, in order to enable logging you must first call xslt_set_log(3) with a boolean parameter which enables log- ging, then if you want to set the log file to debug to, you must then pass it a string containing the filename. PARAMETERS
o $ xh -The XSLT processor link identifier, created with xslt_create(3). o $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. RETURN VALUES
No value is returned. NOTES
Note Please note that file:// is needed in front of the path when using Windows. EXAMPLES
Example #1 Using the XSLT Logging features <?php $xh = xslt_create(); xslt_set_log($xh, true); xslt_set_log($xh, getcwd() . '/myfile.log'); $result = xslt_process($xh, 'dog.xml', 'pets.xsl'); echo $result; xslt_free($xh); ?> PHP Documentation Group XSLT_SET_LOG(3)