Skip to content

Commit

Permalink
Corrects underpin autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstandiford committed May 12, 2021
1 parent 3c4aad9 commit 6a025f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
}, 10, 4 );

add_action( 'underpin/logger/after_logged_item', function ( \Underpin_Logger\Factories\Log_Item $logged_item, $logger ) {
do_action( 'qm/' . $logger->psr_level, $logged_item->code . ':' . $logged_item->message . "\n" . json_encode( $logged_item->data ) );
do_action( 'qm/' . $logger->psr_level, $logged_item->code . ':' . $logged_item->message . "\n" . json_encode( $logged_item->data, JSON_PRETTY_PRINT ) );
}, 10, 2 );

0 comments on commit 6a025f7

Please sign in to comment.