|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| debugMessage ($message, $encoding=null) | |
Static Public Member Functions | |
| static | instance () |
Static Protected Attributes | |
| static | $instance = null |
Definition at line 5 of file Logger.php.
| PhpXmlRpc\Helper\Logger::debugMessage | ( | $message, | |
$encoding = null |
|||
| ) |
Echoes a debug message, taking care of escaping it when not in console mode. NB: if the encoding of the message is not known or wrong, and we are working in web mode, there is no guarantee of 100% accuracy, which kind of defeats the purpose of debugging
| string | $message | |
| string | $encoding |
Definition at line 31 of file Logger.php.
|
static |
This class is singleton, so that later we can move to DI patterns.
Definition at line 14 of file Logger.php.
References PhpXmlRpc\Helper\Logger\$instance.
Referenced by PhpXmlRpc\Helper\Http\parseResponseHeaders().
|
staticprotected |
Definition at line 7 of file Logger.php.
Referenced by PhpXmlRpc\Helper\Logger\instance().