Class LoggingInterceptor

java.lang.Object
org.languagetool.server.LoggingInterceptor
All Implemented Interfaces:
org.apache.ibatis.plugin.Interceptor

@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="query",args={java.sql.Statement.class,org.apache.ibatis.session.ResultHandler.class}) @Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="update",args=java.sql.Statement.class) @Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="batch",args=java.sql.Statement.class) public class LoggingInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • WHITESPACE_PATTERN

      private static final Pattern WHITESPACE_PATTERN
  • Constructor Details

    • LoggingInterceptor

      public LoggingInterceptor()
  • Method Details

    • intercept

      public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
      Specified by:
      intercept in interface org.apache.ibatis.plugin.Interceptor
      Throws:
      Throwable