mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Improved logging.
Added "[logs]write_on_timeout_only" settings
This commit is contained in:
parent
1250efa445
commit
23c299ac9e
7 changed files with 96 additions and 47 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue