public function listLogChannels()
    {
        $uri = 'asterisk/logging';

        $response = $this->client->getEndpoint()->get($uri);

        $logChannels = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $logChannel) {
            $logChannels[] = new Module($logChannel);
        }

        return $logChannels;
    }
public function listLogChannels()
    {
        $uri = 'asterisk/logging';

        $response = $this->client->getEndpoint()->get($uri);

        $logChannels = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $logChannel) {
            $logChannels[] = new Module($logChannel);
        }

        return $logChannels;
    }
public function listLogChannels ( ) { $ uri = 'asterisk/logging' ; $ response = $ this -> client -> getEndpoint ( ) -> get ( $ uri ) ; $ logChannels = [ ] ; foreach ( \ GuzzleHttp \ json_decode ( $ response -> getBody ( ) ) as $ logChannel ) { $ logChannels [ ] = new Module ( $ logChannel ) ; } return $ logChannels ; }
Gets Asterisk log channel information.

@return LogChannel[]
Gets Asterisk log channel information .