@Test public void testArray() throws Exception { ArrayList data = new ArrayList(); data.add("one"); data.add(2); ArrayList data2 = new ArrayList(); data2.add("three"); data2.add(4); data.add(data2); mle.setFieldsToLog(new Object[]{data}); assertEquals("", "[one|2|[three|4]]", elr.getMessage().toString()); }
public final String getMessage() { if (messageString == null) { renderMessageString(); } return messageString; }
EventLogRecord extends CougarLogRecord { public final String getMessage() { if (messageString == null) { renderMessageString(); } return messageString; } }
EventLogRecord extends CougarLogRecord { public final String getMessage() { if (messageString == null) { renderMessageString(); } return messageString; } EventLogRecord(LoggableEvent event, Object[] extensionFields); }
EventLogRecord extends CougarLogRecord { public final String getMessage() { if (messageString == null) { renderMessageString(); } return messageString; } EventLogRecord(LoggableEvent event, Object[] extensionFields); static void setCollectionSeperator(String collectionSeperator); final void renderMessageString(); final String getMessage(); final byte[] getBytes(); }
EventLogRecord extends CougarLogRecord { public final String getMessage() { if (messageString == null) { renderMessageString(); } return messageString; } EventLogRecord(LoggableEvent event, Object[] extensionFields); static void setCollectionSeperator(String collectionSeperator); final void renderMessageString(); final String getMessage(); final byte[] getBytes();  }