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).
- Alphabetic
- By Inheritance
- LogsConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorEnabled: Option[Boolean]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxQueryLength: Option[Int]
- val maxValueLength: Option[Int]
- val maxValues: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val showStackTraces: Option[Boolean]
- val showValues: Option[Boolean]
- val slow: Option[SlowConfig]
- val successEnabled: Option[Boolean]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])