• Resolved jayPEG

    (@jaypeg)


    I am a bit confused how to do go about activating logging. From the Logs tab where it states “No data logged. Read about logging variables in Query Monitor.” and links to https://querymonitor.com/docs/logging-variables/ I see the logging variables but no guide about how you would use those. Sorry, I feel like I must be overlooking something.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    What are you trying to do? This feature is intended as a replacement for functions such as var_dump() in your own code which can be used while you’re debugging things. It’s a way of logging the value of an expression and displaying it in the output of Query Monitor.

    Thread Starter jayPEG

    (@jaypeg)

    Thank you John. I was actually just attempting to get something to show another Plugin developer as we have a Plugin that’s loading incredibly slowly. They had responded with “We suggest you check the error log on your end by activating any “Query Monitor” plugin from WordPress and share it with us so that we can better assist you.”.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Ah-ha, then what they’re referring to is the “PHP Errors” panel, not the “Logs” panel. This panel only shows up if errors are triggered during the generation of the page.

    Thread Starter jayPEG

    (@jaypeg)

    Ah! So if I don’t see a PHP Errors panel, then there were none?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Activating logging’ is closed to new replies.