Phalcon\Logger\Adapter\Database::logInternal PHP Method

logInternal() public method

Writes the log to the file itself
public logInternal ( string $message, integer $type, integer $time, array $context = [] ) : boolean
$message string
$type integer
$time integer
$context array
return boolean
    public function logInternal($message, $type, $time, $context = [])
    {
        return $this->db->execute('INSERT INTO ' . $this->options['table'] . ' VALUES (null, ?, ?, ?, ?)', [$this->name, $type, $message, $time], [Column::BIND_PARAM_STR, Column::BIND_PARAM_INT, Column::BIND_PARAM_STR, Column::BIND_PARAM_INT]);
    }