File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,22 +9,27 @@ export class OutputChannelLogger implements ILogging {
9
9
constructor ( private readonly channel : LogOutputChannel ) { }
10
10
11
11
public traceLog ( ...data : Arguments ) : void {
12
+ console . log ( util . format ( ...data ) ) ;
12
13
this . channel . appendLine ( util . format ( ...data ) ) ;
13
14
}
14
15
15
16
public traceError ( ...data : Arguments ) : void {
17
+ console . error ( util . format ( ...data ) ) ;
16
18
this . channel . error ( util . format ( ...data ) ) ;
17
19
}
18
20
19
21
public traceWarn ( ...data : Arguments ) : void {
22
+ console . warn ( util . format ( ...data ) ) ;
20
23
this . channel . warn ( util . format ( ...data ) ) ;
21
24
}
22
25
23
26
public traceInfo ( ...data : Arguments ) : void {
27
+ console . info ( util . format ( ...data ) ) ;
24
28
this . channel . info ( util . format ( ...data ) ) ;
25
29
}
26
30
27
31
public traceVerbose ( ...data : Arguments ) : void {
32
+ console . debug ( util . format ( ...data ) ) ;
28
33
this . channel . debug ( util . format ( ...data ) ) ;
29
34
}
30
35
}
You can’t perform that action at this time.
0 commit comments