Skip to content

Commit ba42b7c

Browse files
Logger nocolor (#1189)
* Disable color for logger in lsp mode * Disable logger colors when running in LSP mode
1 parent 2d77dc6 commit ba42b7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/LanguageServer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ export class LanguageServer {
111111
void this.sendBusyStatus(status);
112112
});
113113

114+
//disable logger colors when running in LSP mode
115+
logger.enableColor = false;
116+
114117
//listen to all of the output log events and pipe them into the debug channel in the extension
115118
this.loggerSubscription = logger.subscribe((message) => {
116119
this.connection.tracer.log(message.argsText);

0 commit comments

Comments
 (0)