Beans frank.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2746 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-02-10 16:26:11 +00:00
parent 0468902779
commit acb2fffb0a
@@ -78,8 +78,8 @@ public class OneLineLogFormatter extends Formatter
// strip the package name from the logging class
where = where.substring(where.lastIndexOf(".")+1);
// handle legacy log usage patterns
useLoggerName = !(where.equals("Log") || where.equals("LoggingLogProvider") ||
where.startsWith("JDK14Logger$Impl"));
useLoggerName = (where.equals("Log") || where.equals("LoggingLogProvider") ||
where.startsWith("JDK14Logger$Impl"));
}
if (useLoggerName) {
where = record.getLoggerName();