| Constructor and Description |
|---|
DefaultLogPolicy(org.zeroturnaround.javarebel.Logger log) |
DefaultLogPolicy(org.zeroturnaround.javarebel.Logger log,
boolean logStackTrace) |
| Modifier and Type | Method and Description |
|---|---|
org.zeroturnaround.javarebel.Logger |
getLogger() |
boolean |
shouldLog(Object instance,
String methodName,
Object[] args) |
boolean |
shouldLogStackTrace(Object instance,
String methodName,
Object[] args)
This method is not guaranteed to be checked at all if shouldLog(..) already returns false for the same arguments
|
public DefaultLogPolicy(org.zeroturnaround.javarebel.Logger log)
public DefaultLogPolicy(org.zeroturnaround.javarebel.Logger log,
boolean logStackTrace)
public org.zeroturnaround.javarebel.Logger getLogger()
public boolean shouldLogStackTrace(Object instance, String methodName, Object[] args)
LogPolicyshouldLogStackTrace in interface LogPolicyinstance - the instance or class in case of a static methodmethodName - the method nameargs - The arguments from the called methodCopyright © 2015. All rights reserved.