Class

com.persist.logging

LoggingSystem

Related Doc: package logging

Permalink

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))

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def getAkkaLevel: Levels

    Permalink

    Get Akka logging levels

    Get Akka logging levels

    returns

    the current and default Akka logging levels.

  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getLevel: Levels

    Permalink

    Get logging levels.

    Get logging levels.

    returns

    the current and default logging levels.

  11. def getSlf4jLevel: Levels

    Permalink

    Get the Slf4j logging levels.

    Get the Slf4j logging levels.

    returns

    the current and default Slf4j logging levels.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. lazy val log: Logger

    Permalink

    The framework logger.

    The framework logger.

    Attributes
    protected
    Definition Classes
    ClassLogging
  14. var logLevel: Level

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def setAkkaLevel(level: Level): Unit

    Permalink

    Changes the Akka logger logging level.

    Changes the Akka logger logging level.

    level

    the new logging level for the Akka logger.

  19. def setFilter(filter: Option[(Map[String, RichMsg]) ⇒ Boolean]): Unit

    Permalink

    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 returns false if that message is to be discarded.

  20. def setLevel(level: Level): Unit

    Permalink

    Changes the logger API logging level.

    Changes the logger API logging level.

    level

    the new logging level for the logger API.

  21. def setSlf4jLevel(level: Level): Unit

    Permalink

    Changes the slf4j logging level.

    Changes the slf4j logging level.

    level

    the new logging level for slf4j.

  22. def stop: Future[Unit]

    Permalink

    Shut down the logging system.

    Shut down the logging system.

    returns

    future completes when the logging system is shut down.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    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