/ Published in: Java

This is especially useful to have appear in logs. While it is totally up to the JVM implementation what to return for the name, most seem to return a numeric process identifier.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
log.info("Foo started: pid = " + pid);
Comments
