java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.spy.NiceLogger
All Implemented Interfaces:
com.p6spy.engine.spy.appender.P6Logger

public class NiceLogger extends Object implements com.p6spy.engine.spy.appender.P6Logger
  • Constructor Details

    • NiceLogger

      public NiceLogger()
  • Method Details

    • logSQL

      public void logSQL(int connectionId, String now, long elapsed, com.p6spy.engine.logging.Category category, String prepared, String sql, String url)
      Specified by:
      logSQL in interface com.p6spy.engine.spy.appender.P6Logger
    • logException

      public void logException(Exception e)
      Specified by:
      logException in interface com.p6spy.engine.spy.appender.P6Logger
    • logText

      public void logText(String text)
      Specified by:
      logText in interface com.p6spy.engine.spy.appender.P6Logger
    • isCategoryEnabled

      public boolean isCategoryEnabled(com.p6spy.engine.logging.Category category)
      Specified by:
      isCategoryEnabled in interface com.p6spy.engine.spy.appender.P6Logger