public interface LoggingBus extends ActorEventBus
Modifier and Type | Method and Description |
---|---|
ActorRef |
addLogger(ActorSystemImpl system,
java.lang.Class<? extends Actor> clazz,
Logging.LogLevel level,
java.lang.String logName)
INTERNAL API
|
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(ActorSystemImpl system)
Internal Akka use only
|
void |
startStdoutLogger(ActorSystem.Settings config)
Internal Akka use only
|
void |
stopDefaultLoggers(ActorSystem system) |
compareSubscribers
publish, subscribe, unsubscribe, unsubscribe
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!
level
- (undocumented)void setUpStdoutLogger(ActorSystem.Settings config)
void startStdoutLogger(ActorSystem.Settings config)
config
- (undocumented)void startDefaultLoggers(ActorSystemImpl system)
system
- (undocumented)void stopDefaultLoggers(ActorSystem system)
ActorRef addLogger(ActorSystemImpl system, java.lang.Class<? extends Actor> clazz, Logging.LogLevel level, java.lang.String logName)
system
- (undocumented)clazz
- (undocumented)level
- (undocumented)logName
- (undocumented)