class Gitlab::QA::SystemLogs::SystemLogsFormatter
def create_log_summaries(logs)
def create_log_summaries(logs) section = [] logs.each do |log| log_summary = <<~MARKDOWN.chomp <details><summary>Click to expand</summary> ```json #{JSON.pretty_generate(log.summary)} ``` </details> MARKDOWN section.append(log_summary) end section.join("\n\n") end