Interface ConfigurationLog


public interface ConfigurationLog
Configuration events are sent to this event log.

The EventLog implementation can be provided by ServiceLoader and then can control how the events are logged. For example, it might delay logging messages until logging implementation has finished configuration.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(System.Logger.Level level, String message, Object... args)
    Log an event with the given level, formatted message, and arguments.
    void
    log(System.Logger.Level level, String message, Throwable thrown)
    Log an event with the given level, message, and thrown exception.
    default void
    Invoked when the initialisation of configuration has been completed.
    default void
    Invoked when the configuration is being initialised.
  • Method Details

    • preInitialisation

      default void preInitialisation()
      Invoked when the configuration is being initialised.
    • postInitialisation

      default void postInitialisation()
      Invoked when the initialisation of configuration has been completed.
    • log

      void log(System.Logger.Level level, String message, Throwable thrown)
      Log an event with the given level, message, and thrown exception.
    • log

      void log(System.Logger.Level level, String message, Object... args)
      Log an event with the given level, formatted message, and arguments.

      The message format is as per MessageFormat.format(String, Object...).