class LoggingSystem extends AnyRef
This class is responsible for programmatic interaction with the configuration of the logging system. It initializes appenders, starts the log actor and manages clean up of logging system. Until and unless this class is instantiated all(akka, slf4j and tmt) the logs are enqueued in local queue. Once it is instantiated, the queue is emptied and all the logs are forwarded to configured appenders.
- Alphabetic
- By Inheritance
- LoggingSystem
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAppenders(_appenderBuilders: LogAppenderBuilder*): Unit
- var appenderBuilders: List[LogAppenderBuilder]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAkkaLevel: Levels
Get Akka logging levels
Get Akka logging levels
- returns
the current and default Akka logging levels.
- def getAppenders: List[LogAppenderBuilder]
Get the logging appenders.
Get the logging appenders.
- returns
the current and default logging appenders.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getDefaultLogLevel: Levels
Get logging levels.
Get logging levels.
- returns
the current and default logging levels.
- def getLogMetadata(prefix: Prefix): LogMetadata
Get the basic logging configuration values
Get the basic logging configuration values
- returns
LogMetadata which comprises of current root log level, akka log level, sl4j log level and component log level
- def getSlf4jLevel: Levels
Get the Slf4j logging levels.
Get the Slf4j logging levels.
- returns
the current and default Slf4j logging levels.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaStop(): CompletableFuture[Done]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def setAkkaLevel(level: Level): Unit
Changes the Akka logger logging level.
Changes the Akka logger logging level.
- level
the new logging level for the Akka logger.
- def setAppenders(_appenderBuilders: List[LogAppenderBuilder]): Unit
Changes the logging appenders.
Changes the logging appenders.
- _appenderBuilders
the list of new logging appenders.
- def setComponentLogLevel(prefix: Prefix, level: Level): Unit
- def setDefaultLogLevel(level: Level): Unit
Changes the logger API logging level.
Changes the logger API logging level.
- level
the new logging level for the logger API.
- def setSlf4jLevel(level: Level): Unit
Changes the slf4j logging level.
Changes the slf4j logging level.
- level
the new logging level for slf4j.
- val standardHeaders: JsObject
Standard headers.
- def stop: Future[Done]
Shut down the logging system.
Shut down the logging system.
- returns
future completes when the logging system is shut down.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val system: ActorSystem[Command]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])