fadilxcoder/chrome-php-logger

ChromePhp is a PHP library for the Chrome Logger Google Chrome extension

1.0 2022-07-17 10:21 UTC

This package is auto-updated.

Last update: 2024-10-17 16:14:47 UTC


README

Chrome Logger is a Google Chrome extension for debugging server side applications in the Chrome console.

Most languages include their own logging capabilities, but sometimes it is easier to see your logs right in the browser.

developer developer

  • Install the Google Chrome extension
  • Click the extension icon in the browser to enable it for the current tab's domain
  • Usage :
...

use Logger\Chrome\ChromePhp;

...

class User {

    ....
    ChromePhp::log('hello world');
    ChromePhp::log($_SERVER);
    ChromePhp::warn('something went wrong!');
    ...

}

Click for more information.