@awalsh128/winston-vscode
    Preparing search index...

    Function outputChannelHost

    • A Host for a LogOutputChannel: it follows the channel's level, which covers both its own level and the global one, and disposes the channel with the logger.

      Parameters

      • outputChannel: LogOutputChannel
      • mapLevel: (level: LogLevel) => LogLevelOrOff = fromVscodeLogLevel

        Maps the channel's VS Code level to a logger level.

      Returns Host