abstract class BaseLogger extends Serializable
- Alphabetic
- By Inheritance
- BaseLogger
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BaseLogger()
Abstract Value Members
-
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()
-
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
Java code:
logger.debug( "length: {} content: {}", () -> payload.length(), () -> payload.content());
Example: -
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
-
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
Java code:
logger.debug( "Wrong payload. Length: {} content: {}", () -> payload.length(), () -> payload.content());
Example: -
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
-
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
Java code:
logger.info( "Retrieved payload. Length: {} content: {}", () -> payload.length(), () -> payload.content());
Example: -
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
abstract
def
isDebugEnabled: Boolean
Returns true if the logger instance is enabled for the DEBUG level.
-
abstract
def
isErrorEnabled: Boolean
Returns true if the logger instance is enabled for the ERROR level.
-
abstract
def
isInfoEnabled: Boolean
Returns true if the logger instance is enabled for the INFO level.
-
abstract
def
isTraceEnabled: Boolean
Returns true if the logger instance is enabled for the TRACE level.
-
abstract
def
isWarnEnabled: Boolean
Returns true if the logger instance is enabled for the WARN level.
-
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()
-
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
Java code:
logger.trace( "length: {} content: {}", () -> payload.length(), () -> payload.content());
Example: -
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
-
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
-
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()
Java code:
logger.warn( "Unexpected payload. Length : {} content: {}", () -> payload.length(), () -> payload.content());
Example: -
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 optionalobjects
.- objects
Variable number of objects. Each
{}
marker inpattern
is replaced with the string representation of the corresponding object.
- Annotations
- @varargs()
Concrete 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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()