sealed abstract class LogOptions extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogOptions
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def enabled: Boolean
- abstract def getLogger: Optional[Logger]
Java API
- abstract def level: Level
- abstract def logger: Option[Logger]
- abstract def withEnabled(enabled: Boolean): LogOptions
User control whether messages are logged or not.
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.
- abstract def withLevel(level: Level): LogOptions
The org.slf4j.event.Level to use when logging messages.
- abstract def withLogger(logger: Logger): LogOptions
A org.slf4j.Logger to use when logging messages.
Logging options when using
Behaviors.logMessages
.