org.incava.qualog

Class QlClassFilter

public class QlClassFilter extends QlFilter

A filter for logging statements from a class. Unlike QlFilter, the class under consideration is checked that it is assignable from the filter class, that is, it is of the same class, or is a superclass.

See Also: QlFilter

Constructor Summary
QlClassFilter(Class cls, QlLevel level)
Method Summary
booleanisMatch(String fileName, int lineNumber, String className, String methodName)
Returns whether the given parameters should be enabled for logging.

Constructor Detail

QlClassFilter

public QlClassFilter(Class cls, QlLevel level)

Method Detail

isMatch

public boolean isMatch(String fileName, int lineNumber, String className, String methodName)
Returns whether the given parameters should be enabled for logging. By default, this returns true.