Packages

object LogContext extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
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

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. def apply(contextName: String, id: String): LogContext

    Apply method to create a context given a context name and an id

    Apply method to create a context given a context name and an id

    contextName

    the context name

    id

    the id

    returns

    the new context

  5. def apply(contextName: String): LogContext

    Apply method to create a context given a context name

    Apply method to create a context given a context name

    contextName

    the context name

    returns

    the new context

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def current: LogContext

    The current log context.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. def root: LogContext

    The root log context.

    The root log context. Empty context which prints nothing.

    Note

    This method is provided to Java user for convenience, and it's equivalent to RootLogContext$.MODULE$.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. def withChild(contextName: String, closure: Runnable): Unit

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context. Java friendly version for lambda expressions that return void.

    contextName

    The child context name.

    closure

    The closure that is evaluated withing the new log context.

    returns

    the result of the closure.

  25. def withChild(contextName: String, id: String, closure: Runnable): Unit

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context. Java friendly version for lambda expressions that return void.

    contextName

    The child context name.

    id

    The child ID.

    closure

    The closure that is evaluated withing the new log context.

    returns

    the result of the closure.

  26. def withChild[T](contextName: String)(closure: ⇒ T): T

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    T

    The return type of the closure.

    contextName

    The child context name.

    closure

    The closure that is evaluated withing the new log context.

    returns

    the result of the closure.

  27. def withChild[T](contextName: String, id: String)(closure: ⇒ T): T

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    Creates a child of the current log context, dynamically binds the current log context to it and evaluates code under the new context.

    T

    The return type of the closure.

    contextName

    The child context name.

    id

    The child ID.

    closure

    The closure that is evaluated withing the new log context.

    returns

    the result of the closure.

  28. def withContext(logContext: LogContext, closure: Runnable): Unit

    Dynamically binds the current log context to a new value and evaluates code under the new context.

    Dynamically binds the current log context to a new value and evaluates code under the new context. Java friendly version for lambda expressions that return void.

    logContext

    The new log context value.

    closure

    The closure that is evaluated within the new log context.

  29. def withContext[T](logContext: LogContext)(closure: ⇒ T): T

    Dynamically binds the current log context to a new value and evaluates code under the new context.

    Dynamically binds the current log context to a new value and evaluates code under the new context.

    T

    The return type of the closure.

    logContext

    The new log context value.

    closure

    The closure that is evaluated within the new log context.

    returns

    the result of the closure.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped