Interface AbstractLoggingExtended


public interface AbstractLoggingExtended
Abstract Logging Extended interface
Author:
Leonard Woo
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnable(int level)
    Checks whether this Logger is enabled for the given Level.
    void
    log(int level, CharSequence message)
    Logs a message with the specific Marker at the given level.
    void
    log(int level, CharSequence message, Throwable cause)
    Logs a message with the specific Marker at the given level.
  • Method Details

    • isEnable

      boolean isEnable(int level)
      Checks whether this Logger is enabled for the given Level.
      Parameters:
      level - the Level to check
      Returns:
      boolean - true if this Logger is enabled for level, false otherwise.
    • log

      void log(int level, CharSequence message)
      Logs a message with the specific Marker at the given level.
      Parameters:
      level - the logging level
      message - the message string to be logged
    • log

      void log(int level, CharSequence message, Throwable cause)
      Logs a message with the specific Marker at the given level.
      Parameters:
      level - the logging level
      message - the message string to be logged
      cause - A Throwable or null.