Packages

final class LogSettings extends AnyRef

Source
RestartSettings.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogSettings
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LogSettings(logLevel: LogLevel, criticalLogLevel: LogLevel, criticalLogLevelAfter: Int)
  2. new LogSettings(logLevel: LogLevel, criticalLogLevel: LogLevel, criticalLogLevelAfter: Int, verboseLogsAfter: Option[Int])

Value Members

  1. val criticalLogLevel: LogLevel
  2. val criticalLogLevelAfter: Int
  3. val logLevel: LogLevel
  4. val verboseLogsAfter: Option[Int]
  5. def withCriticalLogLevel(criticalLevel: LogLevel, afterErrors: Int): LogSettings

    Possibility to use another log level after a given number of errors.

    Possibility to use another log level after a given number of errors. The initial errors are logged at the level defined with LogSettings.withLogLevel. For example, the first 3 errors can be logged at INFO level and thereafter at ERROR level.

    The counter (and log level) is reset after the RestartSettings.maxRestartsWithin duration.

  6. def withLogLevel(level: LogLevel): LogSettings
  7. def withVerboseLogsAfter(afterErrors: Int): LogSettings

    If set, warning and error logs will use only the exception message up to afterErrors consecutive errors, after reaching the number of consecutive errors, the entire exception with stacktrace is logged.

    If set, warning and error logs will use only the exception message up to afterErrors consecutive errors, after reaching the number of consecutive errors, the entire exception with stacktrace is logged.

    The counter (and verbosity level) is reset after the RestartSettings.maxRestartsWithin duration.