mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-27 05:44:12 +00:00
Improve client logging (use output channel and more log levels)
This commit is contained in:
parent
8b0983e89a
commit
3602f07bbe
4 changed files with 49 additions and 18 deletions
|
@ -4,7 +4,7 @@ import { log } from './util';
|
|||
export class PersistentState {
|
||||
constructor(private readonly globalState: vscode.Memento) {
|
||||
const { lastCheck, releaseId, serverVersion } = this;
|
||||
log.debug("PersistentState: ", { lastCheck, releaseId, serverVersion });
|
||||
log.info("PersistentState:", { lastCheck, releaseId, serverVersion });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue