case class LoggingSystem(system: ActorSystem, serviceName: String, serviceVersion: String, host: String, appenderBuilders: Seq[LogAppenderBuilder] = Seq(StdOutAppender, FileAppender)) extends ClassLogging with Product with Serializable
- system
the actor system.
- serviceName
name of the service (to log).
- serviceVersion
version of the service (to log).
- host
host name (to log).
- appenderBuilders
optional sequence of log appenders to use. Default is to use built-in stdout and file appenders.
- Alphabetic
- By Inheritance
- LoggingSystem
- Serializable
- Serializable
- Product
- Equals
- ClassLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LoggingSystem(system: ActorSystem, serviceName: String, serviceVersion: String, host: String, appenderBuilders: Seq[LogAppenderBuilder] = Seq(StdOutAppender, FileAppender))
- system
the actor system.
- serviceName
name of the service (to log).
- serviceVersion
version of the service (to log).
- host
host name (to log).
- appenderBuilders
optional sequence of log appenders to use. Default is to use built-in stdout and file appenders.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAkkaLevel: Levels
Get Akka logging levels
Get Akka logging levels
- returns
the current and default Akka logging levels.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getLevel: Levels
Get logging levels.
Get logging levels.
- returns
the current and default logging levels.
-
def
getSlf4jLevel: Levels
Get the Slf4j logging levels.
Get the Slf4j logging levels.
- returns
the current and default Slf4j logging levels.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
log: Logger
The framework logger.
The framework logger.
- Attributes
- protected
- Definition Classes
- ClassLogging
- var logLevel: Level
-
def
loggingSystem: LoggingSystem
The logging system.
The logging system.
- Definition Classes
- ClassLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
setFilter(filter: Option[(Map[String, RichMsg], Level) ⇒ Boolean]): Unit
Sets or removes the logging filter.
Sets or removes the logging filter. Filter applies only to the common log. You may want to increase the logging level after adding the filter. Note that a filter together with an increased logging level will require more processing overhead.
- filter
takes the complete common log message and the logging level and returns false if that message is to be discarded.
-
def
setLevel(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: Map[String, RichMsg]
Standard headers.
-
def
stop: Future[Unit]
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )