Hi all I have the ChromePhp logging extension set up with PhpConsole and it's working fine.
But the usual ChromePhp::log("Variable value: ".$variable)
doesn't like having $variable as an array. It throws an array to string conversion error.
Is there an in-built method to log the array in human readable format, just like javascript's console.log(array)
. Or is it a case of iterating over the array and passing each index and value.