Show message type in packet:info
This commit is contained in:
parent
733f4621a1
commit
016c1fb1b0
@ -68,7 +68,8 @@ class PacketInfo extends Command
|
|||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->warn(sprintf('- Date : %s (%s)',$msg->date,$msg->date->tz->toOffsetName()));
|
$this->warn(sprintf('- TYPE : %s',get_class($msg)));
|
||||||
|
$this->warn(sprintf(' - Date : %s (%s)',$msg->date,$msg->date->tz->toOffsetName()));
|
||||||
$this->warn(sprintf(' - Errors : %s',$msg->errors->count() ? 'YES' : 'No'));
|
$this->warn(sprintf(' - Errors : %s',$msg->errors->count() ? 'YES' : 'No'));
|
||||||
$this->warn(sprintf(' - Flags : %s',$msg->flags()->keys()->join(', ')));
|
$this->warn(sprintf(' - Flags : %s',$msg->flags()->keys()->join(', ')));
|
||||||
$this->warn(sprintf(' - Cost : %d',$msg->cost));
|
$this->warn(sprintf(' - Cost : %d',$msg->cost));
|
||||||
|
Loading…
Reference in New Issue
Block a user