Interface LoggableResource
-
- All Known Implementing Classes:
ConfigurationResourceManager
public interface LoggableResourceInterface for configuration resource manager classes to enable or disable the logging of resource changes. Typically this is used in combination with theRequestLogger- Author:
- https://github.com/mcweba [Marc-Andre Weber]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidenableResourceLogging(boolean resourceLoggingEnabled)Enable or disable the resource logging.
-
-
-
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 addressAddress.requestLoggingConsumerAddress()like the RequestLoggingConsumer class from gateleen-logging module.- Parameters:
resourceLoggingEnabled- boolean value whether to enable or disable the resource logging
-
-