LogProxy.php
public static function log(string $message, string $level = self::LEVEL_INFO, ?string $category = null, $dump = null)
    {
        $message = Text::crop($message, 255);
        return static::getAdapter()->log($message, $level, $category, $dump);
    }
public static function log(string $message, string $level = self::LEVEL_INFO, ?string $category = null, $dump = null)
    {
        $message = Text::crop($message, 255);
        return static::getAdapter()->log($message, $level, $category, $dump);
    }
Save un log
@param string $message
@param string $level
@param string|null $category
@param mixed $dump
@return mixed