org.objectweb.util.monolog.wrapper.p6spy
Class P6SpyLogger
java.lang.Object
com.p6spy.engine.logging.appender.FormattedLogger
org.objectweb.util.monolog.wrapper.p6spy.P6SpyLogger
- All Implemented Interfaces:
- com.p6spy.engine.logging.appender.P6Logger
public class P6SpyLogger
- extends com.p6spy.engine.logging.appender.FormattedLogger
- implements com.p6spy.engine.logging.appender.P6Logger
This class is a wrapper between the P6spy loggiing module and monolog. The
aim is to log the SQL queries into a monolog loggger.
- Author:
- S.Chassande-Barrioz
| Fields inherited from class com.p6spy.engine.logging.appender.FormattedLogger |
lastEntry |
| Methods inherited from class com.p6spy.engine.logging.appender.FormattedLogger |
getLastEntry, logSQL, setLastEntry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.p6spy.engine.logging.appender.P6Logger |
getLastEntry, logSQL |
level
public static int level
logger
public static Logger logger
P6SpyLogger
public P6SpyLogger()
logText
public void logText(String s)
- Specified by:
logText in interface com.p6spy.engine.logging.appender.P6Logger- Specified by:
logText in class com.p6spy.engine.logging.appender.FormattedLogger
logException
public void logException(Exception e)
- Specified by:
logException in interface com.p6spy.engine.logging.appender.P6Logger
Copyright © 2012 OW2 Consortium. All Rights Reserved.