Package com.db4o.internal.logging
Class PrintWriterLoggerInterceptor
- java.lang.Object
-
- com.db4o.internal.logging.PrintWriterLoggerInterceptor
-
- All Implemented Interfaces:
LoggingInterceptor
public class PrintWriterLoggerInterceptor extends java.lang.Object implements LoggingInterceptor
-
-
Constructor Summary
Constructors Constructor Description PrintWriterLoggerInterceptor(java.io.PrintWriter out)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatLine(java.util.Date now, Level loggingLevel, java.lang.String method, java.lang.Object[] args)
static java.lang.String
formatMessage(Level loggingLevel, java.lang.String method, java.lang.Object[] args)
void
log(Level loggingLevel, java.lang.String method, java.lang.Object[] args)
-
-
-
Method Detail
-
log
public void log(Level loggingLevel, java.lang.String method, java.lang.Object[] args)
- Specified by:
log
in interfaceLoggingInterceptor
-
formatLine
public static java.lang.String formatLine(java.util.Date now, Level loggingLevel, java.lang.String method, java.lang.Object[] args)
-
formatMessage
public static java.lang.String formatMessage(Level loggingLevel, java.lang.String method, java.lang.Object[] args)
-
-