public static void logSQL ( final String logicSQL , final boolean showSimple , final SQLStatement sqlStatement , final Collection < RouteUnit > routeUnits ) { log ( "Rule Type: sharding" ) ; log ( "Logic SQL: {}" , logicSQL ) ; log ( "SQLStatement: {}" , sqlStatement ) ; if ( showSimple ) { logSimpleMode ( routeUnits ) ; } else { logNormalMode ( routeUnits ) ; } }
Print SQL log for sharding rule .