com.j256.ormlite.logger
Interface Log

All Known Implementing Classes:
AndroidLog, CommonsLoggingLog, LocalLog, Log4jLog

public interface Log

Interface so we can front various log code which may or may not be in the classpath.

Author:
graywatson

Method Summary
 void debug(String message)
          Log a debug message.
 void debug(String message, Throwable t)
          Log a debug message with a throwable.
 void error(String message)
          Log a error message.
 void error(String message, Throwable t)
          Log a error message with a throwable.
 void fatal(String message)
          Log a fatal message.
 void fatal(String message, Throwable t)
          Log a fatal message with a throwable.
 void info(String message)
          Log a info message.
 void info(String message, Throwable t)
          Log a info message with a throwable.
 boolean isDebugEnabled()
          Returns true if the log mode is in debug or higher.
 boolean isErrorEnabled()
          Returns true if the log mode is in error or higher.
 boolean isFatalEnabled()
          Returns true if the log mode is in fatal or higher.
 boolean isInfoEnabled()
          Returns true if the log mode is in info or higher.
 boolean isTraceEnabled()
          Returns true if the log mode is in trace or higher.
 boolean isWarnEnabled()
          Returns true if the log mode is in warn or higher.
 void trace(String message)
          Log a trace message.
 void trace(String message, Throwable t)
          Log a trace message with a throwable.
 void warn(String message)
          Log a warn message.
 void warn(String message, Throwable t)
          Log a warn message with a throwable.
 

Method Detail

isTraceEnabled

boolean isTraceEnabled()
Returns true if the log mode is in trace or higher.


isDebugEnabled

boolean isDebugEnabled()
Returns true if the log mode is in debug or higher.


isInfoEnabled

boolean isInfoEnabled()
Returns true if the log mode is in info or higher.


isWarnEnabled

boolean isWarnEnabled()
Returns true if the log mode is in warn or higher.


isErrorEnabled

boolean isErrorEnabled()
Returns true if the log mode is in error or higher.


isFatalEnabled

boolean isFatalEnabled()
Returns true if the log mode is in fatal or higher.


trace

void trace(String message)
Log a trace message.


trace

void trace(String message,
           Throwable t)
Log a trace message with a throwable.


debug

void debug(String message)
Log a debug message.


debug

void debug(String message,
           Throwable t)
Log a debug message with a throwable.


info

void info(String message)
Log a info message.


info

void info(String message,
          Throwable t)
Log a info message with a throwable.


warn

void warn(String message)
Log a warn message.


warn

void warn(String message,
          Throwable t)
Log a warn message with a throwable.


error

void error(String message)
Log a error message.


error

void error(String message,
           Throwable t)
Log a error message with a throwable.


fatal

void fatal(String message)
Log a fatal message.


fatal

void fatal(String message,
           Throwable t)
Log a fatal message with a throwable.



Copyright © 2010. All Rights Reserved.