crazy-max / cws-debug
PHP class to output additional messages for debug.
Installs: 19 137
Dependents: 9
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
- crazy-max/cws-dump: ~1.9
README
⚠️ 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-debug
And download the code:
composer install # or update
Getting 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 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀
Thanks again for your support, it is much appreciated! 🙏
License
MIT. See LICENSE
for more details.