File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 240240 " error" ,
241241 " warn" ,
242242 " info" ,
243- " log" ,
244- " debug"
243+ " log"
245244 ],
246245 "default" : " info" ,
247246 "description" : " Verbosity of ReScript language server logs sent to the Output channel."
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function applyUserConfiguration(configuration: extensionConfiguration) {
4848 return ;
4949 }
5050
51- const level = configuration . logLevel as LogLevel | undefined ;
51+ const level = config . extensionConfiguration . logLevel as LogLevel | undefined ;
5252
5353 if (
5454 level === "error" ||
@@ -361,7 +361,7 @@ let syncProjectConfigCache = async (rootPath: utils.NormalizedPath) => {
361361 ] ) ;
362362 getLogger ( ) . log ( "OK - synced project config cache for " + rootPath ) ;
363363 } catch ( e ) {
364- getLogger ( ) . error ( JSON . stringify ( e ) ) ;
364+ getLogger ( ) . error ( String ( e ) ) ;
365365 }
366366} ;
367367
@@ -374,7 +374,7 @@ let deleteProjectConfigCache = async (rootPath: utils.NormalizedPath) => {
374374 ] ) ;
375375 getLogger ( ) . log ( "OK - deleted project config cache for " + rootPath ) ;
376376 } catch ( e ) {
377- getLogger ( ) . error ( JSON . stringify ( e ) ) ;
377+ getLogger ( ) . error ( String ( e ) ) ;
378378 }
379379} ;
380380
You can’t perform that action at this time.
0 commit comments