Class Slf4jLogHandler

java.lang.Object
org.jolokia.support.spring.log.Slf4jLogHandler
All Implemented Interfaces:
org.jolokia.server.core.service.api.LogHandler

public class Slf4jLogHandler extends Object implements org.jolokia.server.core.service.api.LogHandler
Loghandler using SLF4J
Since:
21.10.13
Author:
roland
  • Constructor Details

    • Slf4jLogHandler

      public Slf4jLogHandler(String pCategory)
      Constructor for a LogHandler using commons SLF4J
      Parameters:
      pCategory - the logging category. If null, org.jolokia is used as category
  • Method Details

    • debug

      public void debug(String message)
      Specified by:
      debug in interface org.jolokia.server.core.service.api.LogHandler
    • info

      public void info(String message)
      Specified by:
      info in interface org.jolokia.server.core.service.api.LogHandler
    • error

      public void error(String message, Throwable t)
      Specified by:
      error in interface org.jolokia.server.core.service.api.LogHandler
    • isDebug

      public boolean isDebug()
      Specified by:
      isDebug in interface org.jolokia.server.core.service.api.LogHandler