displaying arrays
michabbb opened this issue · 2 comments
michabbb commented
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:
and I personally would expect an output where the array gets displayed like dump(...)
does:
so it´s readable for a human. ideas ?
nunomaduro commented
We will consider changing this if more people report it. Thanks!
michabbb commented
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 !!!