Interface Logger


public interface Logger
Is used by WebDAV engine to log messages. You can implement this interface and redirect logging to any other logger.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether debug logging shall be performed.
    void
    logDebug(String message)
    Engine calls this method to log debug message.
    void
    logError(String message, Throwable ex)
    Engine calls this method to log error message.
  • Method Details

    • logDebug

      void logDebug(String message)
      Engine calls this method to log debug message.
      Parameters:
      message - Message to be logged.
    • logError

      void logError(String message, Throwable ex)
      Engine calls this method to log error message.
      Parameters:
      message - Message to be logged.
      ex - Exception that has occurred.
    • isDebugEnabled

      boolean isDebugEnabled()
      Determines whether debug logging shall be performed.
      Returns:
      Whether debug logging shall be performed.