crazy-max/cws-debug

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP class to output additional messages for debug.

1.11.2 2019-10-24 21:47 UTC

This package is auto-updated.

Last update: 2019-11-14 15:40:23 UTC


README

Latest Stable Version Minimum PHP Version Build Status Code Quality Become a sponsor Donate Paypal

⚠️ 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.