@shopify/cli-kit
    Preparing search index...

    Function collectLog

    • This is only used during UnitTesting. If we are in a testing context, instead of printing the logs to the console, we will store them in a variable that can be accessed from the tests.

      Parameters

      • key: string

        The key of the log.

      • content: OutputMessage

        The content of the log.

      Returns void