@Test public void testToString() { System.out.println(ctx.toString()); }
@Override public String toString() { String message = "[pid=" + pid + ", applicationName=" + applicationName + ", clientTime=" + clientTime + ", clientIp=" + inetAddress + "]"; String signedMessage = message + getHMAC(message); return signedMessage; }
RichContext { @Override public String toString() { String message = "[pid=" + pid + ", applicationName=" + applicationName + ", clientTime=" + clientTime + ", clientIp=" + inetAddress + "]"; String signedMessage = message + getHMAC(message); return signedMessage; } }
RichContext { @Override public String toString() { String message = "[pid=" + pid + ", applicationName=" + applicationName + ", clientTime=" + clientTime + ", clientIp=" + inetAddress + "]"; String signedMessage = message + getHMAC(message); return signedMessage; } RichContext(LoggingEvent event); }
RichContext { @Override public String toString() { String message = "[pid=" + pid + ", applicationName=" + applicationName + ", clientTime=" + clientTime + ", clientIp=" + inetAddress + "]"; String signedMessage = message + getHMAC(message); return signedMessage; } RichContext(LoggingEvent event); static long getPID(); String getApplicationName(); static String getHMAC(String msg); @Override String toString(); }
RichContext { @Override public String toString() { String message = "[pid=" + pid + ", applicationName=" + applicationName + ", clientTime=" + clientTime + ", clientIp=" + inetAddress + "]"; String signedMessage = message + getHMAC(message); return signedMessage; } RichContext(LoggingEvent event); static long getPID(); String getApplicationName(); static String getHMAC(String msg); @Override String toString();  }