⚠️ Abandoned project
This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
Thanks to everyone for their valuable feedback and contributions.
About
PHP class to output additional messages for debug.
Installation
composer require crazy-max/cws-debugAnd download the code:
composer install # or updateGetting started
See tests/test.php file sample to help you.
Example
Methods
simple - Output a message.
error - Output error message.
dump - Output a variable dump.
labelValue - Output a value associated to a label.
titleH1 - Output title H1.
titleH2 - Output title H2.
titleH3 - Output title H3.
isQuietVerbose - Check if verbose is quiet
setQuietVerbose - Quiet verbose output : no output at all (default)
isSimpleVerbose - Check if verbose is simple
setSimpleVerbose - Simple verbose output : only output simple report
isReportVerbose - Check if verbose is report
setReportVerbose - Report verbose output : output a detail report
isDebugVerbose - Check if verbose is debug
setDebugVerbose - Debug verbose output : output detail report as well as debug info
setEchoMode - Echo output mode (default)
setFileMode - File output mode
How can I help ?
All kinds of contributions are welcome
Thanks again for your support, it is much appreciated!
License
MIT. See LICENSE for more details.
