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

logInternal() public method

Writes the log.
public logInternal ( string $message, integer $type, integer $time, array $context = [] )
$message string
$type integer
$time integer
$context array
    public function logInternal($message, $type, $time, $context = [])
    {
        $this->logs[] = compact('message', 'type', 'time', 'context');
        if (!$this->isTransaction) {
            $this->send();
        }
    }