|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 88 ||All time: 9,796 This week: 425|
This package can be used to log events to the current browser console, text and XML files.
It provides support to logging of events with an interface compliant with PSR 3 PHP Standards Recommendation specification.
Currently it can log events using HTTP headers to pass log values to the current browser. The log messages may appear in the console or a separate Window section of the current browser when a specific browser add-on is installed. There are add-ons available for Firefox and Chrome.
It may also output log information to files in plain text or XML formats.
Prize: 1 Year Subscription to NomadPHP Advanced PHP Learning
|PSR-3 is a PHP Standards Recommendation that defines an interface for logging application events.
This package implements a PSR-3 compliant logging solution that allows logging PHP application events using HTTP response headers that can be processed by file browser extensions, so PHP developers can see debug information in the browser console.
XLogger - PSR3 compliant Logging to Browser Console, Text- or XML-File
This package provides PSR-3 compliant Loggers for Output to
- Browser Console via FirePHP
- Browser Console via Chrome Logger
- Plain Text (log, txt, csv)
- XML File (can be transformed to HTML with included XSL)
For debugging in particular, it is often very time-saving if the logging output goes directly to the browser console.
Since the loggers comply with the PSR-3 specification, they can be used for existing code and there is the possibility to configure the most suitable logger for different scenarios and / or environments (development / test / delpoyment) at runtime.
For more information about the PSR-3 specification visit www.php-fig.org
For logging to the browser console one of the following Add-Ons have to be installed (both are available for Firefox and Chrome):
- Chrome Logger
You can download the Latest Version from PHPClasses.org. The namespaces, class- and filenames meet the PSR-4 autoloader recommendations.
The use of the available logger classes and the integration of the PSR-3 interfaces / treats can be seen in the examples *XLogTest.phpandTestClass.php*.
For XML-HTML Transformation of the XML-Format use Example XSL-Template *XMLLogger.XSL*
Can be found on www.firephp.org
Chrome Logger Add-On
For Google Chrome can be found on
For Firefox can be found on addons.mozilla.org
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.