File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/vs/workbench/api/common Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,6 @@ class ExtHostOutputChannel extends AbstractMessageLogger implements vscode.LogOu
5151
5252 append ( value : string ) : void {
5353 this . info ( value ) ;
54- if ( this . visible ) {
55- this . logger . flush ( ) ;
56- this . proxy . $update ( this . id , OutputChannelUpdateMode . Append ) ;
57- }
5854 }
5955
6056 clear ( ) : void {
@@ -84,6 +80,10 @@ class ExtHostOutputChannel extends AbstractMessageLogger implements vscode.LogOu
8480 protected log ( level : LogLevel , message : string ) : void {
8581 this . offset += VSBuffer . fromString ( message ) . byteLength ;
8682 log ( this . logger , level , message ) ;
83+ if ( this . visible ) {
84+ this . logger . flush ( ) ;
85+ this . proxy . $update ( this . id , OutputChannelUpdateMode . Append ) ;
86+ }
8787 }
8888
8989 override dispose ( ) : void {
You can’t perform that action at this time.
0 commit comments