Class ApiLog
- java.lang.Object
-
- org.codehaus.commons.compiler.util.reflect.ApiLog
-
public final class ApiLog extends java.lang.Object
Simple logging of method invocations.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
logMethodInvocations(java.lang.Object delegate)
Creates and returns an object that implements all interfaces that the delegate implements.protected static java.lang.String
truncate(java.lang.String s)
-
-
-
Method Detail
-
logMethodInvocations
public static java.lang.Object logMethodInvocations(java.lang.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 toSystem.err
.
-
truncate
protected static java.lang.String truncate(java.lang.String s)
-
-