org.sonar.home.log
Class Slf4jLog

java.lang.Object
  extended by org.sonar.home.log.Slf4jLog
All Implemented Interfaces:
Log

public class Slf4jLog
extends Object
implements Log


Constructor Summary
Slf4jLog(Class loggerClass)
           
Slf4jLog(org.slf4j.Logger logger)
           
 
Method Summary
 void debug(String s)
           
 void error(String s, Throwable throwable)
           
 void info(String s)
           
 boolean isDebugEnabled()
           
 void warn(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLog

public Slf4jLog(org.slf4j.Logger logger)

Slf4jLog

public Slf4jLog(Class loggerClass)
Method Detail

isDebugEnabled

public boolean isDebugEnabled()

debug

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

info

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

warn

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

error

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


Copyright © 2009-2014 SonarSource. All Rights Reserved.