public staticObjectlogMethodInvocations(Object delegate)
Creates and returns an object that implements all interfaces that the delegate implements.
All method invocations are forwarded to the delegate, and, after the delegate's method
returns, logged to System.err.