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 toStringWithPrimitive() {
        assertThat(LogHelper.toString("0")).isEqualTo("0");
        assertThat(LogHelper.toString(1)).isEqualTo("1");
        assertThat(LogHelper.toString(2L)).isEqualTo("2");
        assertThat(LogHelper.toString(3.1D)).isEqualTo("3.1");
        assertThat(LogHelper.toString(4.2F)).isEqualTo("4.2");
        assertThat(LogHelper.toString((byte) 5)).isEqualTo("5");
        assertThat(LogHelper.toString('6')).isEqualTo("6");
    }