Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.
/ CwsDebug Public archive

PHP class to output additional messages for debug

License

Notifications You must be signed in to change notification settings

crazy-max/CwsDebug

Repository files navigation

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.