org.apache.ibatis.logging.log4j2
Class Log4j2LoggerImpl

java.lang.Object
  extended by org.apache.ibatis.logging.log4j2.Log4j2LoggerImpl
All Implemented Interfaces:
Log

public class Log4j2LoggerImpl
extends Object
implements Log


Constructor Summary
Log4j2LoggerImpl(org.apache.logging.log4j.Logger logger)
           
 
Method Summary
 void debug(String s)
           
 void error(String s)
           
 void error(String s, Throwable e)
           
 boolean isDebugEnabled()
           
 boolean isTraceEnabled()
           
 void trace(String s)
           
 void warn(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4j2LoggerImpl

public Log4j2LoggerImpl(org.apache.logging.log4j.Logger logger)
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Log

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface Log

error

public void error(String s,
                  Throwable e)
Specified by:
error in interface Log

error

public void error(String s)
Specified by:
error in interface Log

debug

public void debug(String s)
Specified by:
debug in interface Log

trace

public void trace(String s)
Specified by:
trace in interface Log

warn

public void warn(String s)
Specified by:
warn in interface Log


Copyright © 2010-2013 MyBatis.org. All Rights Reserved.