public interface LoggingBus extends ActorEventBus
Modifier and Type | Method and Description |
---|---|
Logging.LogLevel |
_logLevel() |
ActorRef |
addLogger(akka.actor.ActorSystemImpl system,
java.lang.Class<? extends Actor> clazz,
Logging.LogLevel level,
java.lang.String logName)
INTERNAL API
|
ReentrantGuard |
guard() |
scala.collection.Seq<ActorRef> |
loggers() |
Logging.LogLevel |
logLevel()
Query currently set log level.
|
void |
setLogLevel(Logging.LogLevel level)
Change log level: default loggers (i.e.
|
void |
setUpStdoutLogger(ActorSystem.Settings config) |
void |
startDefaultLoggers(akka.actor.ActorSystemImpl system)
Internal Akka use only
|
void |
startStdoutLogger(ActorSystem.Settings config)
Internal Akka use only
|
void |
stopDefaultLoggers(ActorSystem system)
Internal Akka use only
|
compareSubscribers
publish, subscribe, unsubscribe, unsubscribe
ReentrantGuard guard()
scala.collection.Seq<ActorRef> loggers()
Logging.LogLevel _logLevel()
Logging.LogLevel logLevel()
void setLogLevel(Logging.LogLevel level)
NOTE: if the StandardOutLogger is configured also as normal logger, it will not participate in the automatic management of log level subscriptions!
void setUpStdoutLogger(ActorSystem.Settings config)
void startStdoutLogger(ActorSystem.Settings config)
void startDefaultLoggers(akka.actor.ActorSystemImpl system)
void stopDefaultLoggers(ActorSystem system)
ActorRef addLogger(akka.actor.ActorSystemImpl system, java.lang.Class<? extends Actor> clazz, Logging.LogLevel level, java.lang.String logName)