Move log level API to env

Moves the log level API to env
This commit is contained in:
Matt Bierner
2018-03-19 12:52:55 -07:00
parent e82ae3cdf1
commit c48acbb1c9
3 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,6 @@
import * as vscode from 'vscode';
import { join } from 'vs/base/common/paths';
import { Event } from 'vs/base/common/event';
import { LogLevel } from 'vs/workbench/api/node/extHostTypes';
import { ILogService, DelegatedLogService } from 'vs/platform/log/common/log';
import { createSpdLogService } from 'vs/platform/log/node/spdlogService';
@@ -57,12 +56,6 @@ export class ExtHostLogger implements vscode.Logger {
private readonly _logService: ILogService
) { }
get onDidChangeLogLevel(): Event<LogLevel> {
return this._logService.onDidChangeLogLevel;
}
get currentLevel(): LogLevel { return this._logService.getLevel(); }
trace(message: string, ...args: any[]): void {
return this._logService.trace(message, ...args);
}