Interface ExtendedLogger

    • Method Detail

      • isEnabled

        boolean isEnabled(Level level,
                          Marker marker,
                          Message message,
                          Throwable t)
        Determines if logging is enabled.
        Parameters:
        level - The logging Level to check.
        marker - A Marker or null.
        message - The Message.
        t - A Throwable.
        Returns:
        True if logging is enabled, false otherwise.
      • isEnabled

        boolean isEnabled(Level level,
                          Marker marker,
                          Object message,
                          Throwable t)
        Determines if logging is enabled.
        Parameters:
        level - The logging Level to check.
        marker - A Marker or null.
        message - The message.
        t - A Throwable.
        Returns:
        True if logging is enabled, false otherwise.
      • isEnabled

        boolean isEnabled(Level level,
                          Marker marker,
                          String message,
                          Throwable t)
        Determines if logging is enabled.
        Parameters:
        level - The logging Level to check.
        marker - A Marker or null.
        message - The message.
        t - the exception to log, including its stack trace.
        Returns:
        True if logging is enabled, false otherwise.
      • isEnabled

        boolean isEnabled(Level level,
                          Marker marker,
                          String message)
        Determine if logging is enabled.
        Parameters:
        level - The logging Level to check.
        marker - A Marker or null.
        message - The message.
        Returns:
        True if logging is enabled, false otherwise.
      • isEnabled

        boolean isEnabled(Level level,
                          Marker marker,
                          String message,
                          Object... params)
        Determines if logging is enabled.
        Parameters:
        level - The logging Level to check.
        marker - A Marker or null.
        message - The message.
        params - The parameters.
        Returns:
        True if logging is enabled, false otherwise.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          Message message,
                          Throwable t)
        Logs a message if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The Message.
        t - the exception to log, including its stack trace.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          Object message,
                          Throwable t)
        Logs a message if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The message.
        t - the exception to log, including its stack trace.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          String message,
                          Throwable t)
        Logs a message if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The message.
        t - the exception to log, including its stack trace.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          String message)
        Logs a message if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The message.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          String message,
                          Object... params)
        Logs a message if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The message format.
        params - The message parameters.
      • logMessage

        void logMessage(String fqcn,
                        Level level,
                        Marker marker,
                        Message message,
                        Throwable t)
        Always logs a message at the specified level. It is the responsibility of the caller to ensure the specified level is enabled.
        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 logging Level to check.
        marker - A Marker or null.
        message - The Message.
        t - the exception to log, including its stack trace.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          MessageSupplier msgSupplier,
                          Throwable t)
        Logs a message which is only to be constructed if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        msgSupplier - A function, which when called, produces the desired log message.
        t - the exception to log, including its stack trace.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          String message,
                          Supplier<?>... paramSuppliers)
        Logs a message whose parameters are only to be constructed if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        message - The message format.
        paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
      • logIfEnabled

        void logIfEnabled(String fqcn,
                          Level level,
                          Marker marker,
                          Supplier<?> msgSupplier,
                          Throwable t)
        Logs a message which is only to be constructed if the specified level is active.
        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 logging Level to check.
        marker - A Marker or null.
        msgSupplier - A function, which when called, produces the desired log message.
        t - the exception to log, including its stack trace.