Skip to content

Commit

Permalink
Fix: unreadable log label (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer-epstein authored May 25, 2020
1 parent e7c5899 commit 5b6054f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class YeomanUIPanel {

public yeomanui: YeomanUI;
private readonly panel: vscode.WebviewPanel;
private readonly logger: IChildLogger = getClassLogger(YeomanUI.name);
private readonly logger: IChildLogger = getClassLogger("");
private rpc: RpcExtension;
private disposables: vscode.Disposable[] = [];
private genFilter: any;
Expand Down
4 changes: 2 additions & 2 deletions backend/src/logger/logger-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export function getLogger() : IVSCodeExtLogger {
return logger;
}

export function getClassLogger(className: string) : IChildLogger {
return getLogger().getChildLogger({label:className});
export function getClassLogger(name: string) : IChildLogger {
return getLogger().getChildLogger({label:name});
}

export function getYeomanUILibraryLogger() : IChildLogger {
Expand Down

0 comments on commit 5b6054f

Please sign in to comment.