I encountered a problem, in use Phalcon\Logger\Adapter\File
class.
About function log
,Its third argument is not written。next my code,
$logger = new \Phalcon\Logger\Adapter\File($this->_logs_file);
$logger->log($message, \Phalcon\Logger::DEBUG, array(11,11,1,1));
$logger->debug("This is another error",array('222','22222'));
$logger->close();
but $content
doesn't Writed to file. next is my log
[Thu, 09 Jul 15 10:33:10 +0200][WARNING] 1
[Thu, 09 Jul 15 10:33:10 +0200][DEBUG] This is another error
[Thu, 09 Jul 15 10:33:10 +0200][WARNING] 1
[Thu, 09 Jul 15 10:33:10 +0200][DEBUG] This is another error
[Thu, 09 Jul 15 10:33:11 +0200][WARNING] 1
[Thu, 09 Jul 15 10:33:11 +0200][DEBUG] This is another error
[Thu, 09 Jul 15 10:33:11 +0200][WARNING] 1
[Thu, 09 Jul 15 10:33:11 +0200][DEBUG] This is another error
Who knows why it???