Cache\Adapter\Common\AbstractCachePool::log PHP Method

log() protected method

Logs with an arbitrary level if the logger exists.
protected log ( mixed $level, string $message, array $context = [] )
$level mixed
$message string
$context array
    protected function log($level, $message, array $context = [])
    {
        if ($this->logger !== null) {
            $this->logger->log($level, $message, $context);
        }
    }