VS Code API
    Preparing search index...

    Function createOutputChannel

    • Creates a new output channel with the given name and language id If language id is not provided, then Log is used as default language id.

      You can access the visible or active output channel as a text document from visible editors or active editor and use the language id to contribute language features like syntax coloring, code lens etc.,

      Parameters

      • name: string

        Human-readable string which will be used to represent the channel in the UI.

      • OptionallanguageId: string

        The identifier of the language associated with the channel.

      Returns OutputChannel

      A new output channel.

    • Creates a new log output channel with the given name.

      Parameters

      • name: string

        Human-readable string which will be used to represent the channel in the UI.

      • options: { log: true }

        Options for the log output channel.

      Returns LogOutputChannel

      A new log output channel.