Interface LogHandler

All Known Subinterfaces:
JolokiaContext
All Known Implementing Classes:
JolokiaContextImpl, JulLogHandler, QuietLogHandler, StdoutLogHandler

public interface LogHandler
Simple log handler for dispatching logging to e.g. a HttpServlet
Since:
Nov 11, 2009
Author:
roland
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(String message)
    Log a debug messages
    void
    error(String message, Throwable t)
    Log an error
    void
    info(String message)
    Log informal message
    boolean
    Check whether debug is switched on
  • Method Details

    • debug

      void debug(String message)
      Log a debug messages
      Parameters:
      message - debug message
    • info

      void info(String message)
      Log informal message
      Parameters:
      message - message to log
    • error

      void error(String message, Throwable t)
      Log an error
      Parameters:
      message - error message
      t - exception causing this error
    • isDebug

      boolean isDebug()
      Check whether debug is switched on
      Returns:
      true if debugging is enabled