@@ -14,23 +14,23 @@ export class DeviceLogProvider extends DeviceLogProviderBase {
14
14
protected $logger : ILogger ,
15
15
protected $logSourceMapService : Mobile . ILogSourceMapService ,
16
16
protected $timelineProfilerService : ITimelineProfilerService ,
17
- protected $options : IOptions
17
+ protected $options : IOptions ,
18
18
) {
19
19
super ( $logFilter , $logger , $logSourceMapService ) ;
20
20
}
21
21
22
22
public logData (
23
23
lineText : string ,
24
24
platform : string ,
25
- deviceIdentifier : string
25
+ deviceIdentifier : string ,
26
26
) : void {
27
27
// console.log(lineText)
28
28
const loggingOptions = this . getDeviceLogOptionsForDevice ( deviceIdentifier ) ;
29
29
let data = this . $logFilter . filterData ( platform , lineText , loggingOptions ) ;
30
30
data = this . $logSourceMapService . replaceWithOriginalFileLocations (
31
31
platform ,
32
32
data ,
33
- loggingOptions
33
+ loggingOptions ,
34
34
) ;
35
35
36
36
if ( data ) {
@@ -58,12 +58,12 @@ export class DeviceLogProvider extends DeviceLogProviderBase {
58
58
private deviceColorMap = new Map < string , StyleFormat > ( ) ;
59
59
60
60
private colorPool : StyleFormat [ ] = [
61
- "bgMagentaBright " ,
61
+ "bgGray " ,
62
62
"bgBlueBright" ,
63
63
"bgWhiteBright" ,
64
64
"bgCyanBright" ,
65
65
"bgYellowBright" ,
66
- "bgGreenBright " ,
66
+ "bgMagentaBright " ,
67
67
] ;
68
68
private colorPoolIndex = 0 ;
69
69
@@ -150,7 +150,7 @@ export class DeviceLogProvider extends DeviceLogProviderBase {
150
150
toLog . split ( "\n" ) . forEach ( ( actualLine ) => {
151
151
this . printLine (
152
152
color . styleText ( this . getDeviceColor ( deviceIdentifier ) , " " ) ,
153
- this . consoleLevelColor [ level ] ( actualLine )
153
+ this . consoleLevelColor [ level ] ( actualLine ) ,
154
154
) ;
155
155
} ) ;
156
156
}
0 commit comments