private function clearLogs()
    {
        if (!$this->logger instanceof Logger) {
            return;
        }
        /* @var $logger Logger */
        $logger = $this->logger;

        foreach ($logger->getHandlers() as $handler) {
            if ($handler instanceof FingersCrossedHandler) {
                $handler->clear();
            }
        }
    }
private function clearLogs()
    {
        if (!$this->logger instanceof Logger) {
            return;
        }
        /* @var $logger Logger */
        $logger = $this->logger;

        foreach ($logger->getHandlers() as $handler) {
            if ($handler instanceof FingersCrossedHandler) {
                $handler->clear();
            }
        }
    }
private function clearLogs ( ) { if ( ! $ this -> logger instanceof Logger ) { return ; } /* @var $logger Logger */ $ logger = $ this -> logger ; foreach ( $ logger -> getHandlers ( ) as $ handler ) { if ( $ handler instanceof FingersCrossedHandler ) { $ handler -> clear ( ) ; } } }
Clear logs.

@return void
Clear logs .