public function disable(): self
    {
        if (!empty($this->logs)) {
            $this->logs->removeListener($this);
        }

        return $this;
    }
public function disable(): self
    {
        if (!empty($this->logs)) {
            $this->logs->removeListener($this);
        }

        return $this;
    }
public function disable ( ) : self { if ( ! empty ( $ this -> logs ) ) { $ this -> logs -> removeListener ( $ this ) ; } return $ this ; }
Disable displaying logs in console.

@return DebugListener
Disable displaying logs in console .