remove keytar fallback in keychain and add a ton more logging to microsoft auth. ref #133201

This commit is contained in:
Tyler Leonhardt
2021-10-25 11:16:37 -07:00
parent 7fd7b8f661
commit 4d496f61bc
6 changed files with 77 additions and 147 deletions

View File

@@ -5,7 +5,7 @@
import * as vscode from 'vscode';
type LogLevel = 'Info' | 'Error';
type LogLevel = 'Trace' | 'Info' | 'Error';
class Log {
private output: vscode.OutputChannel;
@@ -24,6 +24,10 @@ class Log {
return data.toString();
}
public trace(message: string, data?: any): void {
this.logLevel('Trace', message, data);
}
public info(message: string, data?: any): void {
this.logLevel('Info', message, data);
}