• This plugin also helps debugging by logging php variables/text to be displayed in the javascript popup windows.

    There are the following functions available:

    wpdt_log($message) – which logs to the Console window, where message can be a string or a variable including an array. The array is formatted.

    wpdt_log_memory($mssage) – logs to memory window

    wpdt_log_error($message) – logs to the error window

    wpdt_log_speed($mssage) – logs to the spedd window

    These can be invoke from PHP and allow logging in real time to the Javascript console windows.

    http://ww.wp.xz.cn/extend/plugins/wp-developer-tools/

The topic ‘[Plugin: WP-Developer-Tools] A logging tip’ is closed to new replies.