Class LogOptions.LogOptionsImpl

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Enclosing class:
    LogOptions

    public static final class LogOptions.LogOptionsImpl
    extends LogOptions
    implements scala.Product, java.io.Serializable
    INTERNAL API
    See Also:
    Serialized Form
    • Constructor Detail

      • LogOptionsImpl

        public LogOptionsImpl​(boolean enabled,
                              org.slf4j.event.Level level,
                              scala.Option<org.slf4j.Logger> logger)
    • Method Detail

      • level

        public org.slf4j.event.Level level()
        Specified by:
        level in class LogOptions
      • logger

        public scala.Option<org.slf4j.Logger> logger()
        Specified by:
        logger in class LogOptions
      • withEnabled

        public LogOptions withEnabled​(boolean enabled)
        User control whether messages are logged or not. This is useful when you want to have an application configuration to control when to log messages.
        Specified by:
        withEnabled in class LogOptions
      • withLogger

        public LogOptions withLogger​(org.slf4j.Logger logger)
        A Logger to use when logging messages.
        Specified by:
        withLogger in class LogOptions
      • getLogger

        public java.util.Optional<org.slf4j.Logger> getLogger()
        Java API
        Specified by:
        getLogger in class LogOptions
      • copy

        public LogOptions.LogOptionsImpl copy​(boolean enabled,
                                              org.slf4j.event.Level level,
                                              scala.Option<org.slf4j.Logger> logger)
      • copy$default$1

        public boolean copy$default$1()
      • copy$default$2

        public org.slf4j.event.Level copy$default$2()
      • copy$default$3

        public scala.Option<org.slf4j.Logger> copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object