From: Christian Weiske Date: Wed, 1 Aug 2012 05:47:59 +0000 (+0200) Subject: show that numbers are hex X-Git-Tag: v1.0.0~67 X-Git-Url: https://git.cweiske.de/auerswald-callnotifier.git/commitdiff_plain/198e9133914a87e7a366944a730a3816094cba3a show that numbers are hex --- diff --git a/src/callnotifier/Logger/Debug.php b/src/callnotifier/Logger/Debug.php index 1b921f3..6f24bad 100644 --- a/src/callnotifier/Logger/Debug.php +++ b/src/callnotifier/Logger/Debug.php @@ -62,7 +62,7 @@ class Logger_Debug implements Logger { echo sprintf( $this->purple . 'EDSS1_Message' . $this->end - . ' type %02X ' + . ' type 0x%02X ' . $this->purple . '%s' . $this->end . ' SAPI %d, CR %d, TEI %d, call %d-%s' . ', %d parameters', @@ -78,7 +78,7 @@ class Logger_Debug implements Logger foreach ($msg->parameters as $param) { echo sprintf( - " Parameter type %02X%s, %d bytes: %s\n", + " Parameter type 0x%02X%s, %d bytes: %s\n", $param->type, $param->title ? ' ' . $this->purple . $param->title . $this->end