Minimal overhead Java logging