final case class LogsConfig(successEnabled: Option[Boolean], errorEnabled: Option[Boolean], slow: Option[SlowConfig], maxQueryLength: Option[Int], showValues: Option[Boolean], maxValueLength: Option[Int], maxValues: Option[Int], showStackTraces: Option[Boolean]) extends Product with Serializable

Parameters for RequestLogger.

successEnabled

Whether to log successful requests.

errorEnabled

Whether to log failed requests.

slow

Slow requests logging.

maxQueryLength

The maximum length of the query string in the log message. If it is longer than that, it will be truncated.

showValues

Whether to log bound values in addition to the query string.

maxValueLength

The maximum length for bound values in the log message. If the formatted representation of a value is longer than that, it will be truncated.

maxValues

The maximum number of bound values to log. If a request has more values, the list of values will be truncated.

showStackTraces

Whether to log stack traces for failed queries. If this is disabled, the log will just include the exception's string representation (generally the class name and message).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogsConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LogsConfig(successEnabled: Option[Boolean], errorEnabled: Option[Boolean], slow: Option[SlowConfig], maxQueryLength: Option[Int], showValues: Option[Boolean], maxValueLength: Option[Int], maxValues: Option[Int], showStackTraces: Option[Boolean])

    successEnabled

    Whether to log successful requests.

    errorEnabled

    Whether to log failed requests.

    slow

    Slow requests logging.

    maxQueryLength

    The maximum length of the query string in the log message. If it is longer than that, it will be truncated.

    showValues

    Whether to log bound values in addition to the query string.

    maxValueLength

    The maximum length for bound values in the log message. If the formatted representation of a value is longer than that, it will be truncated.

    maxValues

    The maximum number of bound values to log. If a request has more values, the list of values will be truncated.

    showStackTraces

    Whether to log stack traces for failed queries. If this is disabled, the log will just include the exception's string representation (generally the class name and message).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. val errorEnabled: Option[Boolean]
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val maxQueryLength: Option[Int]
  11. val maxValueLength: Option[Int]
  12. val maxValues: Option[Int]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. val showStackTraces: Option[Boolean]
  18. val showValues: Option[Boolean]
  19. val slow: Option[SlowConfig]
  20. val successEnabled: Option[Boolean]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped