Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 405 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 405 Bytes

laravel-log-parser

WIP!!

This package allows you to parse your log files.

API:

use \LogParser;

LogParser::getLatestErrorForUser(auth()->user()); // Gets the latest error logged for the authenticated user
LogParser::getFiles(); // Gets a collection of the log files in your logs directory. Optional: pass a directory path as an argument and it will scan that instead.

More to come soon.