Improved logging.

Added "[logs]write_on_timeout_only" settings
This commit is contained in:
RainLoop Team 2014-05-08 16:36:46 +04:00
parent 1250efa445
commit 23c299ac9e
7 changed files with 96 additions and 47 deletions

View file

@ -45,15 +45,15 @@ class Callback extends \MailSo\Log\Driver
}
/**
* @param string|array $sDesc
* @param string|array $mDesc
*
* @return bool
*/
protected function writeImplementation($sDesc)
protected function writeImplementation($mDesc)
{
if ($this->fWriteCallback)
{
\call_user_func_array($this->fWriteCallback, array($sDesc));
\call_user_func_array($this->fWriteCallback, array($mDesc));
}
return true;