Function logJson

  • Log an object as JSON that maintains its color through each line to fit GitHub Actions logs.

    Parameters

    • json: AnyObject
    • logType:
          | "bold"
          | LogColorKey
          | "debug"
          | "error"
          | "faint"
          | "info"
          | "mutate"
          | "normalWeight"
          | "plain"
          | "reset"
          | "success"
          | "warning"

    Returns void