org.objectweb.util.monolog.wrapper.p6spy
Class P6SpyLogger

java.lang.Object
  extended byFormattedLogger
      extended byorg.objectweb.util.monolog.wrapper.p6spy.P6SpyLogger

public class P6SpyLogger
extends FormattedLogger

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
See Also:
Serialized Form

Field Summary
static int level
           
static Logger logger
           
 
Constructor Summary
P6SpyLogger()
           
 
Method Summary
 void logException(java.lang.Exception e)
           
 void logText(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

public static int level

logger

public static Logger logger
Constructor Detail

P6SpyLogger

public P6SpyLogger()
Method Detail

logText

public void logText(java.lang.String s)

logException

public void logException(java.lang.Exception e)