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
51
51
52
52
append ( value : string ) : void {
53
53
this . info ( value ) ;
54
- if ( this . visible ) {
55
- this . logger . flush ( ) ;
56
- this . proxy . $update ( this . id , OutputChannelUpdateMode . Append ) ;
57
- }
58
54
}
59
55
60
56
clear ( ) : void {
@@ -84,6 +80,10 @@ class ExtHostOutputChannel extends AbstractMessageLogger implements vscode.LogOu
84
80
protected log ( level : LogLevel , message : string ) : void {
85
81
this . offset += VSBuffer . fromString ( message ) . byteLength ;
86
82
log ( this . logger , level , message ) ;
83
+ if ( this . visible ) {
84
+ this . logger . flush ( ) ;
85
+ this . proxy . $update ( this . id , OutputChannelUpdateMode . Append ) ;
86
+ }
87
87
}
88
88
89
89
override dispose ( ) : void {
You can’t perform that action at this time.
0 commit comments