Title: Log variables
Last modified: December 3, 2019

---

# Log variables

 *  Resolved [crslz](https://wordpress.org/support/users/crslz/)
 * (@crslz)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/log-variables/)
 * Hello,
 * is there a way or option to log variables into the plugin?
 * I mean, something like print_to_query_monitor($my_variable) from my self-written
   plugin, so that I can see the contents of the variable in one of the panels of
   this plugin.
 * thank you in advance!

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [6 years, 4 months ago](https://wordpress.org/support/topic/log-variables/#post-12200758)
 * Not currently, although it is something I want to add. Maybe some time in the
   new year.
 * There’s a third party add-on plugin which provides this although I haven’t used
   it myself for a long time: [https://wordpress.org/plugins/query-monitor-extension-checking-variables/](https://wordpress.org/plugins/query-monitor-extension-checking-variables/)

Viewing 1 replies (of 1 total)

The topic ‘Log variables’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/log-variables/#post-12200758)
 * Status: resolved