|
| debugMessage ($message, $encoding=null) |
| Echoes a debug message, taking care of escaping it when not in console mode.
|
|
| errorLog ($message) |
| Writes a message to the error log.
|
|
|
static | instance () |
| This class can be used as singleton, so that later we can move to DI patterns.
|
|
◆ debugMessage()
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
- Parameters
-
string | $message | |
string | $encoding | |
◆ errorLog()
PhpXmlRpc\Helper\Logger::errorLog |
( |
| $message | ) |
|
Writes a message to the error log.
- Parameters
-
◆ instance()
static PhpXmlRpc\Helper\Logger::instance |
( |
| ) |
|
|
static |
This class can be used as singleton, so that later we can move to DI patterns.
- Return values
-
The documentation for this class was generated from the following file:
- lib/phpxmlrpc/Helper/Logger.php