diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-08-01 07:47:59 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-08-01 07:47:59 +0200 |
| commit | 198e9133914a87e7a366944a730a3816094cba3a (patch) | |
| tree | 549ae697a197aa7f0208bde988f44c4d71f355b7 /src/callnotifier/Logger/Debug.php | |
| parent | 80ac37b8be4b95237ca0b8c1cdf64859a33a0946 (diff) | |
| download | auerswald-callnotifier-198e9133914a87e7a366944a730a3816094cba3a.tar.gz auerswald-callnotifier-198e9133914a87e7a366944a730a3816094cba3a.zip | |
show that numbers are hex
Diffstat (limited to 'src/callnotifier/Logger/Debug.php')
| -rw-r--r-- | src/callnotifier/Logger/Debug.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
