protected function write(array $record) { Notifications::addNotification($record['level'], $record['message']); }