NmnLogger is a small set of PHP classes developed to create a simple abstracted logging mechanism, giving the ability to create complex and functional xml driven logging systems within minutes.
Be the first to post a text review of NmnLogger. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Version 1.0.0: IMPROVED CODE ORGANIZATION:Mayor code restyling, "private function import($xmlNode)" is in NmnLoggerConfig.php now along with "private function findFile($filePath,$type = "file")". Both of them used to reside on NmnLoggerObject. In addiction "private function import($xmlNode)" used to be static. ELIMINATED:"MessageFactoryInterface.php" is not longer in use. You have to extend the base NmnMessageFactory.php class in order to create your own message factory. CHANGED: "NmnMessageFactory.php" gets it's "outputTemplate" from a xml attribute. You can now specify any number of attributes to valorize properties inside your message factories.(Since now it uses the "NmnLoggerConfig->import($xmlNode)" function.) ELIMINATED:"DriverInterface.php" is not longer in use. You have to extend the base "NmnLoggerBaseDriver.php" class to create your own drivers to dispatch logs to new medias. As usual you can initialize any number of object properties declaring them in the "nmn-logger-config.xml". Version 1.1.0: FIXED:Bug in message factory in formatting datetime. CHANGED: Due to possible security holes, message drivers are now configured directly in the php files. ADDED: Simple mysql logging driver, to log directly into mysql tables.
New release with mysql driver for logging directly into mysql tables, security changes in the config file, bugfixing in the MessageFactory class.
Version 1.0.0: IMPROVED CODE ORGANIZATION:Mayor code restyling, "private function import($xmlNode)" is in NmnLoggerConfig.php now along with "private function findFile($filePath,$type = "file")". Both of them used to reside on NmnLoggerObject. In addiction "private function import($xmlNode)" used to be static. ELIMINATED:"MessageFactoryInterface.php" is not longer in use. You have to extend the base NmnMessageFactory.php class in order to create your own message factory. CHANGED: "NmnMessageFactory.php" gets it's "outputTemplate" from a xml attribute. You can now specify any number of attributes to valorize properties inside your message factories.(Since now it uses the "NmnLoggerConfig->import($xmlNode)" function.) ELIMINATED:"DriverInterface.php" is not longer in use. You have to extend the base "NmnLoggerBaseDriver.php" class to create your own drivers to dispatch logs to new medias. As usual you can initialize any number of object properties declaring them in the "nmn-logger-config.xml".
The 1.0.0 version of the NmnLogger package has been released as a stable version. Some code cleanup and optimization has been made from the last one(ver.0.5b). Happy logging!
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: