Class CommonsLogHandler

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

public class CommonsLogHandler extends Object implements org.jolokia.server.core.service.api.LogHandler
Log Handler using Commons Logging (which is a dependency of Spring anyways).
Since:
17.10.13
Author:
roland
  • Constructor Details

    • CommonsLogHandler

      public CommonsLogHandler(String pCategory)
      Constructor for a LogHandler using commons logging
      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