protected function processLogs($logs)
{
$sql = 'INSERT INTO ' . $this->_logTable . '(level, category, logtime, message) VALUES (:level, :category, :logtime, :message)';
$command = $this->getDbConnection()->createCommand($sql);
foreach ($logs as $log) {
$command->bindValue(':message', $log[0]);
$command->bindValue(':level', $log[1]);
$command->bindValue(':category', $log[2]);
$command->bindValue(':logtime', $log[3]);
$command->execute();
}
}