public function getLoggingGet($nr = 0)
    {
        $uri = 'logging.get';
        $uriData = [
            'nr' => $nr
        ];

        try {
            $response = $this->_request(
                [
                    'uri' => $uri,
                    'type' => 'get',
                    'data' => $uriData
                ]
            );
        } catch (\Exception $e) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function getLoggingGet($nr = 0)
    {
        $uri = 'logging.get';
        $uriData = [
            'nr' => $nr
        ];

        try {
            $response = $this->_request(
                [
                    'uri' => $uri,
                    'type' => 'get',
                    'data' => $uriData
                ]
            );
        } catch (\Exception $e) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function getLoggingGet ( $ nr = 0 ) { $ uri = 'logging.get' ; $ uriData = [ 'nr' => $ nr ] ; try { $ response = $ this -> _request ( [ 'uri' => $ uri , 'type' => 'get' , 'data' => $ uriData ] ) ; } catch ( \ Exception $ e ) { throw new InvalidException ( $ e -> getMessage ( ) ) ; } return $ response -> getBody ( ) -> getContents ( ) ; }
Get the full log file by number

@param int $nr Number of the log to get.
@return string
@throws InvalidException
Get the full log file by number