Class RefreshableLogServiceConfiguration

    • Constructor Detail

      • RefreshableLogServiceConfiguration

        public RefreshableLogServiceConfiguration()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(NativeLogger nativeLogger)
        Specified by:
        isEnabled in interface LogServiceConfiguration
        Parameters:
        nativeLogger - the logger to check for enablement against configuration
        Returns:
        true if the specified logger's level is at or above the configured minimum output level of both the writer and that configured for the logger's caller/owner class; otherwise, false.
      • refresh

        public void refresh​(@Nullable
                            Properties properties)
        Specified by:
        refresh in interface Refreshable
        Parameters:
        properties - used to refresh the logging configuration. If null, only properties reloaded from the configuration file will be used. Otherwise, the specified properties will replace all current properties and configuration file is ignored.