Interface LoggableResource

  • All Known Implementing Classes:
    ConfigurationResourceManager

    public interface LoggableResource
    Interface for configuration resource manager classes to enable or disable the logging of resource changes. Typically this is used in combination with the RequestLogger
    Author:
    https://github.com/mcweba [Marc-Andre Weber]
    • Method Detail

      • enableResourceLogging

        void enableResourceLogging​(boolean resourceLoggingEnabled)
        Enable or disable the resource logging. When enabling the resource logging, make sure to have a consumer for event bus events to the address Address.requestLoggingConsumerAddress() like the RequestLoggingConsumer class from gateleen-logging module.
        Parameters:
        resourceLoggingEnabled - boolean value whether to enable or disable the resource logging