public class ClassnameFilter extends Object implements Filter
LogRecords.
Note that this may appear to be the behaviour of the
default filter, but in fact the default filter is
matching against the Logger's name and
convention is to use classnames as logger names. This
is not true in Actor systems such as Akka.
Classnames need to be calculated for most log messages: there is therefore a performance cost to use this filter.
The default level is specified by ,
not .level as one might have expected. This is to workaround
JUL's use of .level elsewhere which may filter before reaching
this.
| Constructor and Description |
|---|
ClassnameFilter() |
public boolean isLoggable(LogRecord record)
isLoggable in interface FilterCopyright © 2013. All Rights Reserved.