/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/debug_kit/src/Log/Engine
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/debug_kit/src/Log/Engine/DebugKitLog.php (1830B)
_logs[$level])) {
$this->_logs[$level] = [];
}
$this->_logs[$level][] = [date('Y-m-d H:i:s'), $this->interpolate($message)];
}
/**
* Get the logs.
*
* @return array
*/
public function all()
{
return $this->_logs;
}
/**
* Get the number of log entries.
*
* @return int
*/
public function count()
{
return array_reduce($this->_logs, function ($sum, $v) {
return $sum + count($v);
}, 0);
}
/**
* Check if there are no logs.
*
* @return bool
*/
public function noLogs()
{
return empty($this->_logs);
}
}