Posted in Glog on Jun 23, 2017
The another feature of Glog is to trigger mail system to send a mail including log entry. Glog filters log messages and catch up only allow to send mail with selected levels in chosen channels. Let's examine our config first:
'notification' => ['blog-post' => ['ERROR', 'NOTICE']],
First, we must enter channel for filtering our log entries. Later we need to select log level. So if your application logs a message in blog-post channel in error level, glog will send it to the email address. Glog will ignore any messages in other levels or channels.
So if you log as follow, it will send mail:
Posted in Glog on Jun 19, 2017
You may access the preview release at https://github.com/gazatem/glog/tree/v0.1-alpha
Posted in Glog on Jun 16, 2017
I've re-created the administrator panel of Glog. New theme has got Laravel's orange colors and a better deisgn. You can access the new theme from development branch. In next days I'll publish to master branch.