Packages

c

com.here.platform.pipeline.logging

ContextAwareLogger

class ContextAwareLogger extends BaseLogger

Main context-aware logging class.

Linear Supertypes
BaseLogger, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContextAwareLogger
  2. BaseLogger
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContextAwareLogger(cls: Class[_])

    cls

    The class whose name is included in every message.

  2. new ContextAwareLogger(loggerFactory: () ⇒ Logger)

    loggerFactory

    Function returning the underlying logger. This function is evaluated once per deserialized instance.

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def debug(message: ⇒ String, cause: Throwable): Unit

    Logs a debug message.

    Logs a debug message.

    message

    The message to be logged, evaluated only when debug logging is enabled.

    cause

    The cause of the message.

    Definition Classes
    ContextAwareLoggerBaseLogger
  7. def debug(message: ⇒ String): Unit

    Logs a debug message.

    Logs a debug message.

    message

    The message to be logged, evaluated only when debug logging is enabled.

    Definition Classes
    ContextAwareLoggerBaseLogger
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def error(message: ⇒ String, cause: Throwable): Unit

    Logs an error message.

    Logs an error message.

    message

    The message to be logged, evaluated only when error logging is enabled.

    cause

    The cause of the message.

    Definition Classes
    ContextAwareLoggerBaseLogger
  11. def error(message: ⇒ String): Unit

    Logs an error message.

    Logs an error message.

    message

    The message to be logged, evaluated only when error logging is enabled.

    Definition Classes
    ContextAwareLoggerBaseLogger
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def info(message: ⇒ String, cause: Throwable): Unit

    Logs an info message.

    Logs an info message.

    message

    The message to be logged, evaluated only when info logging is enabled.

    cause

    The cause of the message.

    Definition Classes
    ContextAwareLoggerBaseLogger
  16. def info(message: ⇒ String): Unit

    Logs an info message.

    Logs an info message.

    message

    The message to be logged, evaluated only when info logging is enabled.

    Definition Classes
    ContextAwareLoggerBaseLogger
  17. def isDebugEnabled: Boolean

    Returns true if the logger instance is enabled for the DEBUG level.

    Returns true if the logger instance is enabled for the DEBUG level.

    Definition Classes
    ContextAwareLoggerBaseLogger
  18. def isErrorEnabled: Boolean

    Returns true if the logger instance is enabled for the ERROR level.

    Returns true if the logger instance is enabled for the ERROR level.

    Definition Classes
    ContextAwareLoggerBaseLogger
  19. def isInfoEnabled: Boolean

    Returns true if the logger instance is enabled for the INFO level.

    Returns true if the logger instance is enabled for the INFO level.

    Definition Classes
    ContextAwareLoggerBaseLogger
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isTraceEnabled: Boolean

    Returns true if the logger instance is enabled for the TRACE level.

    Returns true if the logger instance is enabled for the TRACE level.

    Definition Classes
    ContextAwareLoggerBaseLogger
  22. def isWarnEnabled: Boolean

    Returns true if the logger instance is enabled for the WARN level.

    Returns true if the logger instance is enabled for the WARN level.

    Definition Classes
    ContextAwareLoggerBaseLogger
  23. def limit(n: Int): SamplingLogger

    Logs only the first n messages.

    Logs only the first n messages.

    n

    The number of messages to log. Must be a positive number.

    See also

    SamplingLogger

    Limit

    sampling

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def oneEvery(n: Int, limit: Int): SamplingLogger

    Logs only one message every n messages, up to limit messages.

    Logs only one message every n messages, up to limit messages.

    n

    Number of messages in a sampling period. Must be a positive number.

    limit

    The maximum number of messages to log. Must be a positive number.

    See also

    SamplingLogger

    OneEvery

    Limit

    Chain

    sampling

  28. def oneEvery(n: Int): SamplingLogger

    Logs only one message every n messages.

    Logs only one message every n messages.

    n

    Number of messages in a sampling period. Must be a positive number.

    See also

    SamplingLogger

    OneEvery

    sampling

  29. def oneWithin(timeWindow: FiniteDuration, limit: Int): SamplingLogger

    Logs only one message within timeWindow, up to limit total messages.

    Logs only one message within timeWindow, up to limit total messages.

    timeWindow

    Duration of the time window. Must be non-empty.

    limit

    The maximum number of messages to log. Must be a positive number.

    See also

    SamplingLogger

    OneWithin

    Limit

    Chain

    sampling

  30. def oneWithin(timeWindow: FiniteDuration): SamplingLogger

    Logs only one message within a time window.

    Logs only one message within a time window. The rest of the messages within the same time window are skipped.

    timeWindow

    Duration of the time window. Must be non-empty.

    See also

    SamplingLogger

    OneWithin

    sampling

  31. def sampling(strategy: SamplingStrategy): SamplingLogger

    Returns a SamplingLogger wrapping this ContextAwareLogger using the specified SamplingStrategy

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def trace(message: ⇒ String, cause: Throwable): Unit

    Logs a trace message.

    Logs a trace message.

    message

    The message to be logged, evaluated only when trace logging is enabled.

    cause

    The cause of the message.

    Definition Classes
    ContextAwareLoggerBaseLogger
  35. def trace(message: ⇒ String): Unit

    Logs a trace message.

    Logs a trace message.

    message

    The message to be logged, evaluated only when trace logging is enabled.

    Definition Classes
    ContextAwareLoggerBaseLogger
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def warn(message: ⇒ String, cause: Throwable): Unit

    Logs a warning message.

    Logs a warning message.

    message

    The message to be logged, evaluated only when warning logging is enabled.

    cause

    The cause of the message.

    Definition Classes
    ContextAwareLoggerBaseLogger
  40. def warn(message: ⇒ String): Unit

    Logs a warning message.

    Logs a warning message.

    message

    The message to be logged, evaluated only when warning logging is enabled.

    Definition Classes
    ContextAwareLoggerBaseLogger

Inherited from BaseLogger

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped