LogProxy.php
public static function error(string $message, ?string $category = null, $dump = null)
    {
        return self::log($message, self::LEVEL_ERROR, $category, $dump);
    }
public static function error(string $message, ?string $category = null, $dump = null)
    {
        return self::log($message, self::LEVEL_ERROR, $category, $dump);
    }
Error message
@param string $message
@param string|null $category
@param mixed $dump
@return mixed