Packages

abstract class BaseLogger extends Serializable

Base type for ContextAwareLoggers and SamplingLoggers.

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

Instance Constructors

  1. new BaseLogger()

Abstract Value Members

  1. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
  2. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  3. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
    Example:
    1. Java code:

      logger.debug(
          "length: {} content: {}",
          () -> payload.length(),
          () -> payload.content());
  4. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  5. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
  6. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  7. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
    Example:
    1. Java code:

      logger.debug(
          "Wrong payload. Length: {} content: {}",
          () -> payload.length(),
          () -> payload.content());
  8. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  9. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
  10. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  11. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
    Example:
    1. Java code:

      logger.info(
          "Retrieved payload. Length: {} content: {}",
          () -> payload.length(),
          () -> payload.content());
  12. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  13. abstract def isDebugEnabled: Boolean

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

  14. abstract def isErrorEnabled: Boolean

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

  15. abstract def isInfoEnabled: Boolean

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

  16. abstract def isTraceEnabled: Boolean

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

  17. abstract def isWarnEnabled: Boolean

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

  18. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
  19. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  20. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
    Example:
    1. Java code:

      logger.trace(
          "length: {} content: {}",
          () -> payload.length(),
          () -> payload.content());
  21. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  22. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
  23. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()
  24. abstract 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.

    Annotations
    @varargs() @SafeVarargs()
    Example:
    1. Java code:

      logger.warn(
          "Unexpected payload. Length : {} content: {}",
          () -> payload.length(),
          () -> payload.content());
  25. abstract 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 optional objects.

    objects

    Variable number of objects. Each {} marker in pattern is replaced with the string representation of the corresponding object.

    Annotations
    @varargs()

Concrete 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. 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