TheFriendlyHacker
3 years ago
199
4
Laravel

How to parse a Laravel log

Posted 3 years ago by TheFriendlyHacker

What would be the best way to parse out the date, environment, level and message from each log entry in one of Laravel's log files?

I know that there are packages that do this for you, but I'd rather not use them in this case.

Please sign in or create an account to participate in this conversation.