chrome logger - how to get console output

596 views Asked by At

I installed chrome extension - chrome logger.

download and include ChromePhp.php in my php page.

write:

ChromePhp::log('Hello console!');
console.log('Hello console!');

nothing happpend - console is empty.

what is wrong or missing ?

2

There are 2 answers

0
pedram shabani On
ChromePhp::log('Hello console!');
ChromePhp::warn('warn console!');

after Inspect.(Developer Tools->Console)in Tap Default levels choose Default.

0
scipilot On

Make sure the extension is enabled for the site.

You need to click the extension's icon in the top-right of Chrome. It looks like a console/terminal. If it's blue it's enabled.

enter image description here

If it looks black like this, then you won't see any output in the console.

enter image description here