Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 104 | All time: 9,745 This week: 74 |
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. Innovation Award
|
Create a logger to an application
I need a logger class to insert in file or database.
<?php |
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 (24) |
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 (24) | / | FirePHP | / | Core |
File | Role | Description |
---|---|---|
FB.php | Class | Class source |
FirePHP.php | Class | Class source |
Files (24) | / | 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 (24) | / | 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 |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.