phpLogFacility is a log class for PHP (like log4j for java or the dead log4php projects here), which enables you to use an easy to use logging mechanism inside your console or web script without the need of ugly debug screen output.
Be the first to post a text review of phpLogFacility (a working log4php). Rate and review a project by clicking thumbs up or thumbs down in the right column.
0.11: - FIXED: maximum archives was discarded and falsely set to 0.
This release will makes your life easier: like in log4j, you can directly log to the appropriate log level, simply by $log->debug ( "message" ) and so on. All other changes are focussed to make phpLogFacility more robust (eg. prevent spamming to default log mail recipient, safely write all messages in message queue to disk at file close).
0.9: - ADD: $this->setMessageBuffer () amnipulates the message buffer - ADD: $this->setWriteBuffer () manipulates the file write buffer - ADD: messages are queued if phpLogFacility can't write them immediately to the file (eg. on rotation). This is an internal change and doesn't affect the usage. - FIXED: replaced strrpos to eregi in file name checking, because of limitations in PHP4. - ADD: mail warning are introduced. See readme.txt for further details. - CHANGE: Complete implementation of interface methods. Please refer to the documentation to adapt your sources correctly. Within this changes, source code is now better structured. - CHANGE: Major changes and improvements in text documentation. - ADD: $this->getVersion () is introduced, to get the phpLogFacility version. - CHANGE: Third argument for $this->write () has been redefined as a general dump variable, not specific for debug_backtrace () contents. This is no new feature, just renamed some variables internally to point this out. This won't affect any old application, because it's behaviour is the same.
This new release of phpLogFacility was focused on cleaning up the code and improve the whole object structure for future enhancements and better, fault tolerant handling. Also you're now able to boost the write performance. The really new remarkable feature is introduced: EMail alerts! If activated, all events with a certain error level will be send to a target email address. So you're instantly informed if your script eg. messed up the database. ;-) If you already using a previous version of phpLogFacility, please update your code. All properties are now configured with interface methods, so don't manipulate object variables directly.
0.8: - FIXED: $this->write() now again returns correcty the logID. - EOL of file and console output is now no longer statical "\n". If PHP_EOL is defined (introduced in PHP 5.0.2), this is used. If PHP_EOL is not set, EOL is guessed by PHP_OS. - BUG 1048463: As Frank Ngler (franksmp3) pointed out, log levels are not propely handled. Thanks! This is now fixed. - Log file compression with gz and bz2 is introduced.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?