public static String toString(RedisCommand<?> command, Object... params) {
        if (RedisCommands.AUTH.equals(command)) {
            return "command: " + command + ", params: (password masked)";
        }
        return "command: " + command + ", params: " + LogHelper.toString(params);
    }
@Test
    public void toStringWithNestedBigArrays() {
        String[] strings = new String[15];
        Arrays.fill(strings, "0");
        int[] ints = new int[15];
        Arrays.fill(ints, 1);
        long[] longs = new long[15];
        Arrays.fill(longs, 2L);
        double[] doubles = new double[15];
        Arrays.fill(doubles, 3.1D);
        float[] floats = new float[15];
        Arrays.fill(floats, 4.2F);
        byte[] bytes = new byte[15];
        Arrays.fill(bytes, (byte) 5);
        char[] chars = new char[15];
        Arrays.fill(chars, '6');

        Object[] input = new Object[] { strings, ints, longs, doubles, floats, bytes, chars };
        StringBuilder sb = new StringBuilder();
        sb.append("[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...], ");
        sb.append("[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...], ");
        sb.append("[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ...], ");
        sb.append("[3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, ...], ");
        sb.append("[4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, ...], ");
        sb.append("[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, ...], ");
        sb.append("[6, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...]]");

        assertThat(LogHelper.toString(input)).isEqualTo(sb.toString());
    }