Recommend this page to a friend! |
Download .zip |
Info | Example | View files (24) | Download .zip | Reputation | Support forum | Blog (2) | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 97 | All time: 9,744 This week: 148 |
Version | License | PHP version | Categories | |||
xlogger 1.0.1 | Freely Distributable | 7.4 | Debug, Console, Logging, PHP 7, PSR |
Description | Author | |||
This package can be used to log events to the current browser console, text and XML files. Recommendations Create a logger to an application Innovation Award
|
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): - FirePHP - 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
For Google Chrome can be found on chrome.google.com
For Firefox can be found on addons.mozilla.org
Files |
File | Role | Description | ||
---|---|---|---|---|
CCampbell (1 directory) | ||||
FirePHP (1 directory) | ||||
Psr (1 directory) | ||||
SKien (1 directory) | ||||
autoloader.php | Aux. | Auxiliary script | ||
githubwiki.xml | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpstan.neon | Data | Auxiliary data | ||
readme.md | Doc. | Documentation | ||
TestClass.php | Example | Class source | ||
XLogTest.php | Example | Example script | ||
XMLLogger.xsl | Data | Auxiliary data |
Files | / | FirePHP | / | Core |
File | Role | Description |
---|---|---|
FB.php | Class | Class source |
FirePHP.php | Class | Class source |
Files | / | Psr | / | Log |
File | Role | Description |
---|---|---|
AbstractLogger.php | Class | Class source |
InvalidArgumentException.php | Class | Class source |
LoggerAwareInterface.php | Class | Class source |
LoggerAwareTrait.php | Class | Class source |
LoggerInterface.php | Class | Class source |
LoggerTrait.php | Class | Class source |
LogLevel.php | Class | Class source |
NullLogger.php | Class | Class source |
Files | / | SKien | / | XLogger |
File | Role | Description |
---|---|---|
ChromePHPLogger.php | Class | Class source |
FileLogger.php | Class | Class source |
FirePHPLogger.php | Class | Class source |
XLogger.php | Class | Class source |
XMLLogger.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.