protected function log(string $sql, array $context = []): void
    {
        $sql = str_replace('%', '%%', $sql);
        $sql = preg_replace('/\?/', '"%s"', $sql, \count($context));

        // replace mask by data
        $log = vsprintf($sql, $context);

        Logger::info($log);
    }