laravel/pail

displaying arrays

michabbb opened this issue · 2 comments

i assume the current state is wanted, but because it looks very strange to me, I just wanted to mention it:

this....

Log::debug('test',['test' => 'test', 'test2' => 'test2','test3' => 'test3']);

produces this:

image

and I personally would expect an output where the array gets displayed like dump(...) does:

image

so it´s readable for a human. ideas ?

We will consider changing this if more people report it. Thanks!

many years ago:

me: having dump() without knowing from which line it comes: total nonsense and stupid
everyone else: wuff wuff wuff.... nobody cares, it´s your problem using it more than once in your code
years later: hey, great news: dump() now shows the line of code where it comes from
everyone else: wow, great! amazing !!! party !!!

image