2017 © Pedro Peláez
 

library debug

Simple class for debug & logger on PHP

image

sincco/debug

Simple class for debug & logger on PHP

  • Wednesday, November 23, 2016
  • by ivanmiranda
  • Repository
  • 1 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

debug

Simple class for debug & logger on PHP, (*1)

Installation

To add this package as a local, per-project dependency to your project, simply add a dependency on your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Debug:, (*2)

{
    "require": {
        "sincco/debug": "dev-master"
    }
}

Use

Log any message / variable / data., (*3)

<?php
Debug::log( 'message', $var1, $var2, ... ); // log as much data as you want
Debug::dump( 'message', $var1, $var2, ... ); // log and exit

Use and display chrono., (*4)

<?php
Debug::chrono(); // set the timer
Debug::chrono('your message'); // display your message & time elapsed since last chrono call
Debug::chrono(true); // display a table with all messages & times

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php, (*5)

Happy coding! - ivan miranda, (*6)

The Versions

23/11 2016

dev-master

9999999-dev

Simple class for debug & logger on PHP

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

debug class sfphp sincco

23/11 2016

1.0.1

1.0.1.0

Simple class for debug & logger on PHP

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

debug class sfphp sincco

11/06 2016

1.0

1.0.0.0

Simple class for debug & logger on PHP

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

debug class sfphp sincco