sealed abstract class LogOptions extends AnyRef
Logging options when using Behaviors.logMessages
.
- Annotations
- @DoNotInherit()
- Source
- Logger.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogOptions
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def enabled: Boolean
-
abstract
def
getLogger: Optional[Logger]
Java API
- abstract def level: LogLevel
- 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: LogLevel): LogOptions
The akka.event.Logging.LogLevel to use when logging messages.
-
abstract
def
withLogger(logger: Logger): LogOptions
A akka.actor.typed.Logger to use when logging messages.