import * as vscode from 'vscode' ; const HELM_CHANNEL = "Helm" ; interface Logger extends vscode . Disposable { log ( msg ) : void ; } class LoggingConsole implements Logger { channel : vscode . OutputChannel ; constructor ( channelName ) { this . channel = vscode . window . createOutputChannel ( channelName ) ; } log ( msg ) { this . channel . append ( msg ) ; this . channel . append ( "\n" ) ; this . channel . show ( true ) ; } dispose ( ) { this . channel . dispose ( ) ; } } export const helm = new LoggingConsole ( HELM_CHANNEL ) ;