Reputation: 31548
I have the separate database mysql table with fields like
Message ---type ------date
I want to alog all messages like error , info , waring in database so that i can see the past history of the site and also in case of some problem. i can see whats going on
How can i do that
Upvotes: 1
Views: 6970
Reputation: 3393
You need to write custom monolog handler. For details check those links doctrine monolog handler issue and the official documentation extending monolog
Upvotes: 5