c

com.persist.logging

LoggingSystem

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, ClassLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggingSystem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClassLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def getAkkaLevel: Levels

    Get Akka logging levels

    Get Akka logging levels

    returns

    the current and default Akka logging levels.

  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def getLevel: Levels

    Get logging levels.

    Get logging levels.

    returns

    the current and default logging levels.

  11. def getSlf4jLevel: Levels

    Get the Slf4j logging levels.

    Get the Slf4j logging levels.

    returns

    the current and default Slf4j logging levels.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. lazy val log: Logger

    The framework logger.

    The framework logger.

    Attributes
    protected
    Definition Classes
    ClassLogging
  14. var logLevel: Level
  15. def loggingSystem: LoggingSystem

    The logging system.

    The logging system.

    Definition Classes
    ClassLogging
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. 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.

  20. 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.

  21. 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.

  22. def setSlf4jLevel(level: Level): Unit

    Changes the slf4j logging level.

    Changes the slf4j logging level.

    level

    the new logging level for slf4j.

  23. val standardHeaders: Map[String, RichMsg]

    Standard headers.

  24. def stop: Future[Unit]

    Shut down the logging system.

    Shut down the logging system.

    returns

    future completes when the logging system is shut down.

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ClassLogging

Inherited from AnyRef

Inherited from Any

Ungrouped