public CommonsQueryCountLoggingHandlerInterceptor buildCommonsHandlerInterceptor(CommonsLogLevel logLevel) {
        if (logLevel != null) {
            this.commonsLogLevel = logLevel;
        }

        CommonsQueryCountLoggingHandlerInterceptor handlerInterceptor = new CommonsQueryCountLoggingHandlerInterceptor();
        if (this.commonsLogLevel != null) {
            handlerInterceptor.setLogLevel(this.commonsLogLevel);
        }
        handlerInterceptor.setWriteAsJson(this.writeAsJson);
        return handlerInterceptor;
    }
public CommonsQueryCountLoggingHandlerInterceptor buildCommonsHandlerInterceptor ( CommonsLogLevel logLevel ) { if ( logLevel != null ) { this . commonsLogLevel = logLevel ; } CommonsQueryCountLoggingHandlerInterceptor handlerInterceptor = new CommonsQueryCountLoggingHandlerInterceptor ( ) ; if ( this . commonsLogLevel != null ) { handlerInterceptor . setLogLevel ( this . commonsLogLevel ) ; } handlerInterceptor . setWriteAsJson ( this . writeAsJson ) ; return handlerInterceptor ; }
Build {@link net.ttddyy.dsproxy.support.CommonsQueryCountLoggingHandlerInterceptor}.

@param logLevel commons log level
@return query-count-logger using commons