Skip to content

Commit

Permalink
Update debug.php
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Jan 26, 2024
1 parent bda35ab commit 1fb7fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/themes/clarity/inc/helpers/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Debug::full($var) - shows the structure of $variable, recurses objects
* Debug::raw($var) - does print_r($var)
* Debug::pre($var) - does print_r($var) wrapped in <pre></pre>
* Debug::log($var) - wirtes print_r($var) to file. Requires WP_DEBUG_LOG=true. Watch with `tail -f /bedrock/web/app/debug.log`
* Debug::log($var) - if WP_DEBUG_LOG=true print_r($var) is written to file, else, the message will stout.
*/
class Debug
{
Expand Down

0 comments on commit 1fb7fd1

Please sign in to comment.