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 toStringWithNestedSmallCollections() {
        List<String> strings = Arrays.asList("0" );
        List<Integer> ints = Arrays.asList( 1 );
        List<Long> longs = Arrays.asList( 2L );
        List<Double> doubles = Arrays.asList( 3.1D );
        List<Float> floats = Arrays.asList( 4.2F );
        List<Byte> bytes = Arrays.asList( (byte) 5 );
        List<Character> chars = Arrays.asList( '6' );
        
        Object[] input = new Object[] { strings, ints, longs, doubles, floats, bytes, chars };
        
        assertThat(LogHelper.toString(input)).isEqualTo("[[0], [1], [2], [3.1], [4.2], [5], [6]]");
    }