Class LoggingDnsQueryLifeCycleObserverFactory

    • Constructor Detail

      • LoggingDnsQueryLifeCycleObserverFactory

        public LoggingDnsQueryLifeCycleObserverFactory​(LogLevel level)
        Create DnsQueryLifecycleObserver instances that log events at the given log level.
        Parameters:
        level - The log level to use for logging resolver events.
      • LoggingDnsQueryLifeCycleObserverFactory

        public LoggingDnsQueryLifeCycleObserverFactory​(Class<?> classContext,
                                                       LogLevel level)
        Create DnsQueryLifecycleObserver instances that log events to a logger with the given class context, at the given log level.
        Parameters:
        classContext - The class context for the logger to use.
        level - The log level to use for logging resolver events.
      • LoggingDnsQueryLifeCycleObserverFactory

        public LoggingDnsQueryLifeCycleObserverFactory​(String name,
                                                       LogLevel level)
        Create DnsQueryLifecycleObserver instances that log events to a logger with the given name context, at the given log level.
        Parameters:
        name - The name for the logger to use.
        level - The log level to use for logging resolver events.