{"id":39380,"date":"2015-10-10T23:13:10","date_gmt":"2015-10-10T23:13:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-simple-debug\/"},"modified":"2016-01-28T14:38:46","modified_gmt":"2016-01-28T14:38:46","slug":"wp-simple-debug","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-simple-debug\/","author":13769938,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"4.4.34","requires":"3.7.1","requires_php":"","requires_plugins":"","header_name":"WP Simple Debug","header_author":"Jesse Pearson","header_description":"","assets_banners_color":"","last_updated":"2016-01-28 14:38:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/jessepearson\/wp-simple-debug","header_author_uri":"https:\/\/jessepearson.net\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1621,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.0.2","1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[17813,1378],"plugin_category":[],"plugin_contributors":[79722],"plugin_business_model":[],"class_list":["post-39380","plugin","type-plugin","status-closed","hentry","plugin_tags-debug-log","plugin_tags-simple","plugin_contributors-jessepearson","plugin_committers-jessepearson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-simple-debug.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WP Simple Debug creates a simple function to allow developers to write to the WordPress debug.log.<\/p>\n\n<p>Feature requests or bugs can be added to <a href=\"https:\/\/github.com\/jessepearson\/wp-simple-debug\">the GitHub page<\/a>.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Creates wpsd_log() function that allows you to log data to the WordPress debug.log<\/li>\n<li>Turns on debugging and logging<\/li>\n<li>By default outputs file path and line number where function is called from. <\/li>\n<li>Can output full backtrace to how function was called.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the <code>wp-simple-debug<\/code> directory to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Note: This will turn on WordPress debugging, which will show any errors in any other plugins or themes.<\/li>\n<\/ol>\n\n<h4>Usage<\/h4>\n\n<p>After installing &amp; activating the plugin...<\/p>\n\n<ol>\n<li>Use the function where you would like to in your code: wpsd_log( $data, $note, $file, $line, $full_backtrace )<\/li>\n<li>$data - required - mixed - The data you would like to log. This can be a string, array or object.<\/li>\n<li>$note - optional - string - Will log any note you'd like before outputting the data, such as a variable name. Default '';<\/li>\n<li>$file - optional - bool - If true, will output the path to file calling the function. Default true.<\/li>\n<li>$line - optional - bool - If true, will output the line in the file calling the function. Default true.<\/li>\n<li>$full_backtrace - optional - bool - If true, will output the full backtrace to how the function was called, then die to prevent excessive amounts of data being written. Default false.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Stable version. <\/li>\n<\/ul>\n\n<h4>0.0.2<\/h4>\n\n<ul>\n<li>Added activation hook to place plugin at the top of the \"active_plugins\" WordPress option so that it is activated first.<\/li>\n<li>Updated is_writeable_ACLSafe due to plugin clash.<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"WP Simple Debug creates a simple function to allow developers to write to the WordPress debug.log.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39380"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jessepearson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39380"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39380"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39380"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39380"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39380"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}