Ability to create log file channels from extension host

This commit is contained in:
Sandeep Somavarapu
2018-09-07 11:51:48 +02:00
parent dc4c763127
commit c1a6295edf
9 changed files with 57 additions and 49 deletions

View File

@@ -300,7 +300,7 @@ export interface MainThreadMessageServiceShape extends IDisposable {
}
export interface MainThreadOutputServiceShape extends IDisposable {
$register(label: string, file?: UriComponents): Thenable<string>;
$register(label: string, log: boolean, file?: UriComponents): Thenable<string>;
$append(channelId: string, value: string): Thenable<void>;
$clear(channelId: string): Thenable<void>;
$reveal(channelId: string, preserveFocus: boolean): Thenable<void>;