Reputation: 377
Simple question. Can i retrieve logs programmatically without inserting them into database with laravel 4? Something like: Log::get($date/$type/etc)
or smth similar?
Upvotes: 2
Views: 323
Reputation: 13696
Monolog does not provide an interface to read the log files neither does Laravel. However, you can use phps native SplFileObject class. And there is also this monolog-parser library
Upvotes: 1