Module glf.api

Interface LocationLogger

All Superinterfaces:
Logger

public interface LocationLogger extends Logger
Logger sub-interface for extended service with FQCN (Fully Qualified Caller Name)
Author:
Leonard Woo
  • Method Details

    • log

      void log(String fqcn, Level level, Marker marker, String message, Object[] params, Throwable cause)
      Location logger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logger Level.
      marker - A Marker or null.
      message - The message format.
      params - the message parameters.
      cause - the exception to log, including its stack trace.
    • log

      void log(String fqcn, Level level, Marker marker, String message, Supplier<?>[] paramSuppliers, Throwable cause)
      Location logger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logger Level.
      marker - A Marker or null.
      message - The message format.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
      cause - the exception to log, including its stack trace.