protected function addDeferLog($role, $level, $message, $context)
    {
        $this->deferLogs[] = compact('role', 'level', 'message', 'context');
        $this->deferLogsCount++;
    }
protected function addDeferLog($role, $level, $message, $context)
    {
        $this->deferLogs[] = compact('role', 'level', 'message', 'context');
        $this->deferLogsCount++;
    }
protected function addDeferLog ( $ role , $ level , $ message , $ context ) { $ this -> deferLogs [ ] = compact ( 'role' , 'level' , 'message' , 'context' ) ; $ this -> deferLogsCount ++ ; }
Add a defer log

@param $role
@param $level
@param $message
@param $context
Add a defer log