From 6a025f763a7a457449bba511ed3651bdfbaa9366 Mon Sep 17 00:00:00 2001 From: Alex Standiford Date: Tue, 11 May 2021 21:17:04 -0700 Subject: [PATCH] Corrects underpin autoloader --- debug-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-bar.php b/debug-bar.php index 7310572..542160f 100644 --- a/debug-bar.php +++ b/debug-bar.php @@ -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 ); \ No newline at end of file