Working with large log files is both cumbersome and time-consuming. Wouldn’t it be great if you could quickly filter your application’s log messages by date, or if you could directly view only those messages which have a particular tag? Well, you can, if you use Monolog.
Monolog is a PHP package which allows you to send log messages to databases, email addresses, files and even web services. In this screencast, I am going to show you how to send a PHP project’s log messages to a MySQL database.
Code sample for this screencast can be found at: https://github.com/learnable-content/Hathy-screencasts/tree/MonologScreencast