Sentry/Client.php
function captureQuery($query, $level=self::INFO, $engine = '')
    {
        $data = array(
            'message' => $query,
            'level' => $level,
            'sentry.interfaces.Query' => array(
                'query' => $query
            )
        );

        if ($engine !== '') {
            $data['sentry.interfaces.Query']['engine'] = $engine;
        }
        return $this->capture($data, false);
    }
function captureQuery($query, $level=self::INFO, $engine = '')
    {
        $data = array(
            'message' => $query,
            'level' => $level,
            'sentry.interfaces.Query' => array(
                'query' => $query
            )
        );

        if ($engine !== '') {
            $data['sentry.interfaces.Query']['engine'] = $engine;
        }
        return $this->capture($data, false);
    }
function captureQuery ( $ query , $ level = self :: INFO , $ engine = '' ) { $ data = array ( 'message' => $ query , 'level' => $ level , 'sentry.interfaces.Query' => array ( 'query' => $ query ) ) ; if ( $ engine !== '' ) { $ data [ 'sentry.interfaces.Query' ] [ 'engine' ] = $ engine ; } return $ this -> capture ( $ data , false ) ; }
Log an query to sentry
Log an query to sentry