โ˜… A package to dump anything to the log

1 ยท Freek Van der Herten ยท April 13, 2020, 12:18 p.m.
In this post, I'd like to show you a quick demo of our new package called laravel-log-dumper. In Laravel, you can write stuff to the log using the facade or the info function. Log::info('The meaning of life is 42.'); info("Don't panic.") In some cases I find this easier to just dump things to the log than using the dump function. But unfortunately, these functions don't take any input. Log::info will break when you give it an object, and info will break when passing an array to it. // boom ๐Ÿ’ฃ ...