@@ -23,15 +23,15 @@ export class ListDevicesCommand implements ICommand {
2323 this . printEmulators ( "\nAvailable emulators" , emulators ) ;
2424 }
2525
26- this . $logger . out ( "\nConnected devices & emulators" ) ;
26+ this . $logger . info ( "\nConnected devices & emulators" ) ;
2727 let index = 1 ;
2828 await this . $devicesService . initialize ( { platform : args [ 0 ] , deviceId : null , skipInferPlatform : true , skipDeviceDetectionInterval : true , skipEmulatorStart : true } ) ;
2929
3030 const table : any = createTable ( [ "#" , "Device Name" , "Platform" , "Device Identifier" , "Type" , "Status" ] , [ ] ) ;
3131 let action : ( _device : Mobile . IDevice ) => Promise < void > ;
3232 if ( this . $options . json ) {
3333 action = async ( device ) => {
34- this . $logger . out ( JSON . stringify ( device . deviceInfo ) ) ;
34+ this . $logger . info ( JSON . stringify ( device . deviceInfo ) ) ;
3535 } ;
3636 } else {
3737 action = async ( device ) => {
@@ -44,18 +44,18 @@ export class ListDevicesCommand implements ICommand {
4444 await this . $devicesService . execute ( action , undefined , { allowNoDevices : true } ) ;
4545
4646 if ( ! this . $options . json && table . length ) {
47- this . $logger . out ( table . toString ( ) ) ;
47+ this . $logger . info ( table . toString ( ) ) ;
4848 }
4949 }
5050
5151 private printEmulators ( title : string , emulators : Mobile . IDeviceInfo [ ] ) {
52- this . $logger . out ( title ) ;
52+ this . $logger . info ( title ) ;
5353 const table : any = createTable ( [ "Device Name" , "Platform" , "Version" , "Device Identifier" , "Image Identifier" , "Error Help" ] , [ ] ) ;
5454 for ( const info of emulators ) {
5555 table . push ( [ info . displayName , info . platform , info . version , info . identifier || "" , info . imageIdentifier || "" , info . errorHelp || "" ] ) ;
5656 }
5757
58- this . $logger . out ( table . toString ( ) ) ;
58+ this . $logger . info ( table . toString ( ) ) ;
5959 }
6060}
6161
0 commit comments