git.cweiske.de
/
auerswald-callnotifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ac37b
)
show that numbers are hex
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 1 Aug 2012 05:47:59 +0000
(07:47 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 1 Aug 2012 05:47:59 +0000
(07:47 +0200)
src/callnotifier/Logger/Debug.php
patch
|
blob
|
history
diff --git
a/src/callnotifier/Logger/Debug.php
b/src/callnotifier/Logger/Debug.php
index 1b921f3f841b0a5961a6df8f7c78c411d6770c03..6f24bad66c00c703cbbec8862daf841b4220e77e 100644
(file)
--- 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