com.bmc.mainview.nvbapi
Class Slf4jLogWrapper

java.lang.Object
  extended by com.bmc.mainview.nvbapi.LogWrapper
      extended by com.bmc.mainview.nvbapi.Slf4jLogWrapper

public class Slf4jLogWrapper
extends LogWrapper

An instance is created when the caller passes an SLF4J logger to the HostServer

Version:
2.0
Author:
F. Schneider

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bmc.mainview.nvbapi.LogWrapper
LogWrapper.PrintLogger
 
Constructor Summary
Slf4jLogWrapper(java.lang.Object logger)
           
 
Method Summary
 void debug(java.lang.String message)
          Log a detailed message about what the package is doing
 void error(java.lang.String message)
          Log an error message.
 void error(java.lang.String message, java.lang.Exception e)
          Log an error message along with a traceback of how it was called.
 void info(java.lang.String message)
          Log an informational message.
 void setLevel(java.util.logging.Level l)
          Filter out uninteresting messages
 void warn(java.lang.String message)
          Log a warning message
 
Methods inherited from class com.bmc.mainview.nvbapi.LogWrapper
logWrapperFactory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLogWrapper

public Slf4jLogWrapper(java.lang.Object logger)
Method Detail

setLevel

public void setLevel(java.util.logging.Level l)
Description copied from class: LogWrapper
Filter out uninteresting messages

Specified by:
setLevel in class LogWrapper

debug

public void debug(java.lang.String message)
Description copied from class: LogWrapper
Log a detailed message about what the package is doing

Specified by:
debug in class LogWrapper

info

public void info(java.lang.String message)
Description copied from class: LogWrapper
Log an informational message.

Specified by:
info in class LogWrapper

warn

public void warn(java.lang.String message)
Description copied from class: LogWrapper
Log a warning message

Specified by:
warn in class LogWrapper

error

public void error(java.lang.String message)
Description copied from class: LogWrapper
Log an error message.

Specified by:
error in class LogWrapper

error

public void error(java.lang.String message,
                  java.lang.Exception e)
Description copied from class: LogWrapper
Log an error message along with a traceback of how it was called.

Specified by:
error in class LogWrapper
e - The exception associated with the message