Skip to content

Commit 49758ea

Browse files
author
Kartik Raj
committed
console. logging
1 parent 2e02515 commit 49758ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/client/logging/outputChannelLogger.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,27 @@ export class OutputChannelLogger implements ILogging {
99
constructor(private readonly channel: LogOutputChannel) {}
1010

1111
public traceLog(...data: Arguments): void {
12+
console.log(util.format(...data));
1213
this.channel.appendLine(util.format(...data));
1314
}
1415

1516
public traceError(...data: Arguments): void {
17+
console.error(util.format(...data));
1618
this.channel.error(util.format(...data));
1719
}
1820

1921
public traceWarn(...data: Arguments): void {
22+
console.warn(util.format(...data));
2023
this.channel.warn(util.format(...data));
2124
}
2225

2326
public traceInfo(...data: Arguments): void {
27+
console.info(util.format(...data));
2428
this.channel.info(util.format(...data));
2529
}
2630

2731
public traceVerbose(...data: Arguments): void {
32+
console.debug(util.format(...data));
2833
this.channel.debug(util.format(...data));
2934
}
3035
}

0 commit comments

Comments
 (0)