net.sf.oval.logging
Class LoggerSLF4JImpl

java.lang.Object
  extended by net.sf.oval.logging.LoggerSLF4JImpl
All Implemented Interfaces:
Logger

public class LoggerSLF4JImpl
extends Object
implements Logger

SLF4J Wrapper

Author:
Sebastian Thomschke

Constructor Summary
LoggerSLF4JImpl(String name)
           
 
Method Summary
 void debug(String msg)
          
 void debug(String msg, Throwable t)
          
 void error(String msg)
          
 void error(String msg, Throwable t)
          
 void info(String msg)
          
 void info(String msg, Throwable t)
          
 boolean isDebug()
          
 boolean isError()
          
 boolean isInfo()
          
 boolean isTrace()
          
 boolean isWarn()
          
 void trace(String msg)
          
 void trace(String msg, Throwable t)
          
 void warn(String msg)
          
 void warn(String msg, Throwable t)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerSLF4JImpl

public LoggerSLF4JImpl(String name)
                throws IllegalArgumentException
Parameters:
name - the name of the logger
Throws:
IllegalArgumentException - if name == null
Method Detail

debug

public void debug(String msg)

Specified by:
debug in interface Logger

debug

public void debug(String msg,
                  Throwable t)

Specified by:
debug in interface Logger

error

public void error(String msg)

Specified by:
error in interface Logger

error

public void error(String msg,
                  Throwable t)

Specified by:
error in interface Logger

info

public void info(String msg)

Specified by:
info in interface Logger

info

public void info(String msg,
                 Throwable t)

Specified by:
info in interface Logger

isDebug

public boolean isDebug()

Specified by:
isDebug in interface Logger

isError

public boolean isError()

Specified by:
isError in interface Logger

isInfo

public boolean isInfo()

Specified by:
isInfo in interface Logger

isTrace

public boolean isTrace()

Specified by:
isTrace in interface Logger

isWarn

public boolean isWarn()

Specified by:
isWarn in interface Logger

trace

public void trace(String msg)

Specified by:
trace in interface Logger

trace

public void trace(String msg,
                  Throwable t)

Specified by:
trace in interface Logger

warn

public void warn(String msg)

Specified by:
warn in interface Logger

warn

public void warn(String msg,
                 Throwable t)

Specified by:
warn in interface Logger


Copyright © 2005–2015 The OVal Development Team. All rights reserved.