@Test public void testGetPID() { assertTrue(RichContext.getPID() > 0); }
public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); }
RichContext { public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); } }
RichContext { public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); } RichContext(LoggingEvent event); }
RichContext { public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); } RichContext(LoggingEvent event); static long getPID(); String getApplicationName(); static String getHMAC(String msg); @Override String toString(); }
RichContext { public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); } RichContext(LoggingEvent event); static long getPID(); String getApplicationName(); static String getHMAC(String msg); @Override String toString();  }