src/Logger/Logger.php
public function error($message, array $context = [])
    {
        if (! $this->canLog()) {
            return;
        }
        
        $this->config();
        
        $this->logger->addError($this->formatData($message), $context);
    }
public function error($message, array $context = [])
    {
        if (! $this->canLog()) {
            return;
        }
        
        $this->config();
        
        $this->logger->addError($this->formatData($message), $context);
    }
Error Log

@return void