public function log() { $message = $this->input->get('message', null, 'string'); $priority = $this->input->get('priority', 'INFO', 'string'); $category = $this->input->get('category', 'General', 'string'); if (!empty($message)) { \Dsc\Models::log($message, $priority, $category); } }