src/Base/Logger/StdioLogger.php
protected function processPlaceHolders(string $message, array $context): string
    {
        if (false === strpos($message, '{')) {
            return $message;
        }

        $replacements = [];
        foreach ($context as $key => $value) {
            $replacements['{' . $key . '}'] = $this->formatValue($value);
        }

        return strtr($message, $replacements);
    }
protected function processPlaceHolders(string $message, array $context): string
    {
        if (false === strpos($message, '{')) {
            return $message;
        }

        $replacements = [];
        foreach ($context as $key => $value) {
            $replacements['{' . $key . '}'] = $this->formatValue($value);
        }

        return strtr($message, $replacements);
    }
Replace placeholders in text
@param  string $message
@param  array  $context
@return string