Class LegacyConfigClientDeprecationLogger

java.lang.Object
io.micronaut.aws.distributedconfiguration.imports.LegacyConfigClientDeprecationLogger

@Internal public final class LegacyConfigClientDeprecationLogger extends Object
Emits deprecation warnings once per backend.
Since:
5.0.0
  • Method Details

    • warn

      public static void warn(org.slf4j.Logger logger, String key, String message)
      Log the warning only once for the given key.
      Parameters:
      logger - The logger
      key - The deduplication key
      message - The message