Package akka.event
Interface LoggingBus
- 
- All Superinterfaces:
 ActorEventBus,EventBus
- All Known Implementing Classes:
 EventStream
public interface LoggingBus extends ActorEventBus
This trait brings log level handling to the EventStream: it reads the log levels for the initial logging (StandardOutLogger) and the loggers & level for after-init logging, possibly keeping the StandardOutLogger enabled if it is part of the configured loggers. All configured loggers are treated as system services and managed by this trait, i.e. subscribed/unsubscribed in response to changes of LoggingBus.logLevel. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void_logLevel_$eq(Logging.LogLevel x$1)ActorRefaddLogger(akka.actor.ActorSystemImpl system, java.lang.Class<? extends Actor> clazz, Logging.LogLevel level, java.lang.String logName)INTERNAL APIvoidloggers_$eq(scala.collection.immutable.Seq<ActorRef> x$1)Logging.LogLevellogLevel()Query currently set log level.voidsetLogLevel(Logging.LogLevel level)Change log level: default loggers (i.e.voidsetUpStdoutLogger(ActorSystem.Settings config)voidstartDefaultLoggers(akka.actor.ActorSystemImpl system)Internal Akka use onlyvoidstartStdoutLogger(ActorSystem.Settings config)Internal Akka use onlyvoidstopDefaultLoggers(ActorSystem system)- 
Methods inherited from interface akka.event.ActorEventBus
compareSubscribers 
- 
Methods inherited from interface akka.event.EventBus
publish, subscribe, unsubscribe, unsubscribe 
 - 
 
 - 
 
- 
- 
Method Detail
- 
_logLevel_$eq
void _logLevel_$eq(Logging.LogLevel x$1)
 
- 
addLogger
ActorRef addLogger(akka.actor.ActorSystemImpl system, java.lang.Class<? extends Actor> clazz, Logging.LogLevel level, java.lang.String logName)
INTERNAL API 
- 
logLevel
Logging.LogLevel logLevel()
Query currently set log level. See object Logging for more information. 
- 
loggers_$eq
void loggers_$eq(scala.collection.immutable.Seq<ActorRef> x$1)
 
- 
setLogLevel
void setLogLevel(Logging.LogLevel level)
Change log level: default loggers (i.e. from configuration file) are subscribed/unsubscribed as necessary so that they listen to all levels which are at least as severe as the given one. See object Logging for more information.NOTE: if the StandardOutLogger is configured also as normal logger, it will not participate in the automatic management of log level subscriptions!
 
- 
setUpStdoutLogger
void setUpStdoutLogger(ActorSystem.Settings config)
 
- 
startDefaultLoggers
void startDefaultLoggers(akka.actor.ActorSystemImpl system)
Internal Akka use only 
- 
startStdoutLogger
void startStdoutLogger(ActorSystem.Settings config)
Internal Akka use only 
- 
stopDefaultLoggers
void stopDefaultLoggers(ActorSystem system)
 
 - 
 
 -