* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Tests; use Psr\Log\LoggerInterface; class Logger implements LoggerInterface { protected $logs; public function __construct() { $this->clear(); } public function getLogs($level = false) { return false === $level ? $this->logs : $this->logs[$level]; } public function clear() { $this->logs = array( 'emergency' => array(), 'alert' => array(), 'critical' => array(), 'error' => array(), 'warning' => array(), 'notice' => array(), 'info' => array(), 'debug' => array(), ); } public function log($level, $message, array $context = array()) { $this->logs[$level][] = $message; } public function emergency($message, array $context = array()) { $this->log('emergency', $message, $context); } public function alert($message, array $context = array()) { $this->log('alert', $message, $context); } public function critical($message, array $context = array()) { $this->log('critical', $message, $context); } public function error($message, array $context = array()) { $this->log('error', $message, $context); } public function warning($message, array $context = array()) { $this->log('warning', $message, $context); } public function notice($message, array $context = array()) { $this->log('notice', $message, $context); } public function info($message, array $context = array()) { $this->log('info', $message, $context); } public function debug($message, array $context = array()) { $this->log('debug', $message, $context); } } __halt_compiler();----SIGNATURE:----QmZ9s7891DEjKxaWEPkGjHwNbMOnFVeR9GZYz164c7m3qv8uOIu1R525tRoZfHO5Z7EPxBi+XV6wZTdHVRR9oKD4LGpv9eNNeuyvJtHml+L1aAWAKLpr6DHqDWaNdNpbjbtX2Wc4khIrX2ucqFXNRtVXbbb8q+obcn8ss6hyvshUAJF055oa7CdueujKAxzFg9bz98VyDUlS+8yawRW5gBcYmJYcLmlyUymuHqoveIBquoe4nM9uCFJ1zp52PIyS6hEcjtaE7EoHz8hqQhGrhXDTfR4GqzUPfhpbdiX1uCikmpzS8+MR9xyZooU3xqObj2NxRieCIBnTSPoyPp/C6F+5bYK67jUF9MfbO10/wREdVUtZR2rTuQLWLNky/mqAIeo+xJWJ6jH7gIC/urmct5ATDsxDg3sDxtXBi3rbd9Rmyw3dW5SFp7Z2ji7dsRXDFiCtsQoj4Y7hLHnX2+ynnybA246vldBRz9pbLMlCLoLJdZ81wbKiJwC/U8LXZzrimS90YuOSMrWjIUFpLl1rJ1QeJYmfZul11noqoffXvnbBvTwFbkm3iXymiHhanclzuJLdwM2iSIrn/raIW9tEOQYDplv78bT0o312kwiCbvWbyEulj+kJ08MbOHEgNrCaswAk8/RZYLWTG0tYwFKC6sCYJC4Ilsec9/j+HNuqcXg=----ATTACHMENT:----NzY2NzU4ODAxNjE2NTc2OSA3NTkxMjQxMjAxMjIzMTA3IDk0NDg1NzU5NTIwNzA0MDI=