class ContextAwareLogger extends BaseLoggerWrapper
Main context-aware logging class.
- Note
 This is a Java-friendly version of com.here.platform.pipeline.logging.ContextAwareLogger.
- Alphabetic
 - By Inheritance
 
- ContextAwareLogger
 - BaseLoggerWrapper
 - BaseLogger
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -    def debug(cause: Throwable, pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a debug message.
Logs a debug message. Lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if debug logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def debug(cause: Throwable, pattern: String, objects: AnyRef*): Unit
Logs a debug message.
Logs a debug message. Non-lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    def debug(pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a debug message.
Logs a debug message. Lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if debug logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def debug(pattern: String, objects: AnyRef*): Unit
Logs a debug message.
Logs a debug message. Non-lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def error(cause: Throwable, pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs an error message.
Logs an error message. Lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if error logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def error(cause: Throwable, pattern: String, objects: AnyRef*): Unit
Logs an error message.
Logs an error message. Non-lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    def error(pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs an error message.
Logs an error message. Lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if error logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def error(pattern: String, objects: AnyRef*): Unit
Logs an error message.
Logs an error message. Non-lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def info(cause: Throwable, pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs an info message.
Logs an info message. Lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if info logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def info(cause: Throwable, pattern: String, objects: AnyRef*): Unit
Logs an info message.
Logs an info message. Non-lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    def info(pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs an info message.
Logs an info message. Lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if info logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def info(pattern: String, objects: AnyRef*): Unit
Logs an info message.
Logs an info message. Non-lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    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
 - BaseLoggerWrapper → BaseLogger
 
 -    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
 - BaseLoggerWrapper → BaseLogger
 
 -    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
 - BaseLoggerWrapper → BaseLogger
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    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
 - BaseLoggerWrapper → BaseLogger
 
 -    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
 - BaseLoggerWrapper → BaseLogger
 
 -    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
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def oneEvery(n: Int, limit: Int): SamplingLogger
Logs only one message every
nmessages, up tolimitmessages.Logs only one message every
nmessages, up tolimitmessages.- 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.
 -    def oneEvery(n: Int): SamplingLogger
Logs only one message every
nmessages.Logs only one message every
nmessages.- n
 Number of messages in a sampling period. Must be a positive number.
- See also
 
 -    def oneWithin(timeWindow: Duration, limit: Int): SamplingLogger
Logs only one message within
timeWindow, up tolimittotal messages.Logs only one message within
timeWindow, up tolimittotal messages.- timeWindow
 Duration of the time window. Must be non-empty.
- limit
 The maximum number of messages to log. Must be a positive number.
 -    def oneWithin(timeWindow: Duration): 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
 
 -    def sampling(strategy: SamplingStrategy): SamplingLogger
Returns a SamplingLogger wrapping this ContextAwareLogger using the specified SamplingStrategy
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -    def trace(cause: Throwable, pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a trace message.
Logs a trace message. Lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if trace logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def trace(cause: Throwable, pattern: String, objects: AnyRef*): Unit
Logs a trace message.
Logs a trace message. Non-lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    def trace(pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a trace message.
Logs a trace message. Lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if trace logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def trace(pattern: String, objects: AnyRef*): Unit
Logs a trace message.
Logs a trace message. Non-lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -    def warn(cause: Throwable, pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a warning message.
Logs a warning message. Lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if warning logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def warn(cause: Throwable, pattern: String, objects: AnyRef*): Unit
Logs a warning message.
Logs a warning message. Non-lazy overload.
- cause
 The cause of the message.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 -    def warn(pattern: String, first: Supplier[_ <: AnyRef], others: Supplier[_ <: AnyRef]*): Unit
Logs a warning message.
Logs a warning message. Lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optional objects produced by evaluating the lambda objects. Lambdas are evaluated only if warning logging is enabled.- first
 Lambda producing the first object.
- others
 Variable number of lambdas.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs() @SafeVarargs()
 
 -    def warn(pattern: String, objects: AnyRef*): Unit
Logs a warning message.
Logs a warning message. Non-lazy overload.
- pattern
 The format message to be logged, evaluated always. Can contain
{}markers that are substituted with the optionalobjects.- objects
 Variable number of objects. Each
{}marker inpatternis replaced with the string representation of the corresponding object.
- Definition Classes
 - BaseLoggerWrapper → BaseLogger
 - Annotations
 - @varargs()
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)