Packages

class LogContext extends Serializable

This class implements the logging context concept that consists of a set of information to be appended to logging messages to give the user a clear understanding of the computational context where a given logging message comes from

With reference to logging please refer to the following message:

Logger: logging message // Context contextName=id childContextName=childId

Note

This class is mainly meant to be used in conjunction with a ContextAwareLogger

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogContext
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LogContext(contextName: String, id: Option[String], parent: Option[LogContext])

    contextName

    the context string

    id

    an id to uniquely identify a specific logging context

    parent

    a parent LogContext. Parent LogContext messages are prepended to the current context

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 child(contextName: String): LogContext

    Method to create a new context by appending a child to an existing one

    Method to create a new context by appending a child to an existing one

    contextName

    the child context name

    returns

    the child context

  6. def child(contextName: String, id: String): LogContext

    Method to create a new context by appending a child to an existing one

    Method to create a new context by appending a child to an existing one

    contextName

    the child context name

    id

    the child id

    returns

    the child context

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def formatMessage(message: String): String

    The formatting message creating the log line

    The formatting message creating the log line

    message

    the message to be appended to the log line

    returns

    the log line made of the context and the message

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. lazy val toString: String

    String conversion method performing the context message creation

    String conversion method performing the context message creation

    Definition Classes
    LogContext → AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped