@Test
public void testLogString() {

    // Test a number of variations
    Assert.assertEquals(null, Utils.logString(null));
    Assert.assertEquals("", Utils.logString(""));
    Assert.assertEquals("ab??c", Utils.logString("ab\r\nc"));
    Assert.assertEquals("ab?c", Utils.logString("ab\tc"));
}