object Logger
Static logger for issuing log entries.
- Alphabetic
- By Inheritance
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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]) @native() @HotSpotIntrinsicCandidate()
- macro def debug(exception: Throwable, message: String, arguments: () => Any*): Unit
Logs an exception with a formatted message at DEBUG.
Logs an exception with a formatted message at DEBUG. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def debug(exception: Throwable, message: String, arguments: Any*): Unit
Logs an exception with a formatted custom message at DEBUG.
Logs an exception with a formatted custom message at DEBUG. "{}" placeholders will be replaced by given arguments.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def debug(exception: Throwable, message: () => String): Unit
Logs an exception with a custom lazy message at DEBUG.
Logs an exception with a custom lazy message at DEBUG. The message will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Function that produces the message
- macro def debug(exception: Throwable, message: String): Unit
Logs an exception with a custom message at DEBUG.
Logs an exception with a custom message at DEBUG.
Messages with embedded variables will be evaluated lazy by a macro.
- exception
Caught exception or any other throwable to log
- message
Text message to log
- macro def debug(exception: Throwable): Unit
Logs an exception at DEBUG.
Logs an exception at DEBUG.
- exception
Caught exception or any other throwable to log
- macro def debug(message: String, arguments: () => Any*): Unit
Logs a formatted message at DEBUG level.
Logs a formatted message at DEBUG level. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def debug(message: String, arguments: Any*): Unit
Logs a formatted message at DEBUG.
Logs a formatted message at DEBUG. "{}" placeholders will be replaced by given arguments.
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def debug(message: () => String): Unit
Logs a lazy message at DEBUG.
Logs a lazy message at DEBUG. The message will be only evaluated if the log entry is really output.
- message
Function that produces the message
- macro def debug(message: String): Unit
Logs a message at DEBUG.
Logs a message at DEBUG.
Strings with embedded variables will be evaluated lazy by a macro.
- message
Text message to log
- macro def debug(message: Any): Unit
Logs a message at DEBUG.
Logs a message at DEBUG.
- message
Any object with a meaningful
toString()
method
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def error(exception: Throwable, message: String, arguments: () => Any*): Unit
Logs an exception with a formatted message at ERROR.
Logs an exception with a formatted message at ERROR. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def error(exception: Throwable, message: String, arguments: Any*): Unit
Logs an exception with a formatted custom message at ERROR.
Logs an exception with a formatted custom message at ERROR. "{}" placeholders will be replaced by given arguments.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def error(exception: Throwable, message: () => String): Unit
Logs an exception with a custom lazy message at ERROR.
Logs an exception with a custom lazy message at ERROR. The message will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Function that produces the message
- macro def error(exception: Throwable, message: String): Unit
Logs an exception with a custom message at ERROR.
Logs an exception with a custom message at ERROR.
Messages with embedded variables will be evaluated lazy by a macro.
- exception
Caught exception or any other throwable to log
- message
Text message to log
- macro def error(exception: Throwable): Unit
Logs an exception at ERROR.
Logs an exception at ERROR.
- exception
Caught exception or any other throwable to log
- macro def error(message: String, arguments: () => Any*): Unit
Logs a formatted message at ERROR level.
Logs a formatted message at ERROR level. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def error(message: String, arguments: Any*): Unit
Logs a formatted message at ERROR.
Logs a formatted message at ERROR. "{}" placeholders will be replaced by given arguments.
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def error(message: () => String): Unit
Logs a lazy message at ERROR.
Logs a lazy message at ERROR. The message will be only evaluated if the log entry is really output.
- message
Function that produces the message
- macro def error(message: String): Unit
Logs a message at ERROR.
Logs a message at ERROR.
Strings with embedded variables will be evaluated lazy by a macro.
- message
Text message to log
- macro def error(message: Any): Unit
Logs a message at ERROR.
Logs a message at ERROR.
- message
Any object with a meaningful
toString()
method
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- macro def info(exception: Throwable, message: String, arguments: () => Any*): Unit
Logs an exception with a formatted message at INFO.
Logs an exception with a formatted message at INFO. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def info(exception: Throwable, message: String, arguments: Any*): Unit
Logs an exception with a formatted custom message at INFO.
Logs an exception with a formatted custom message at INFO. "{}" placeholders will be replaced by given arguments.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def info(exception: Throwable, message: () => String): Unit
Logs an exception with a custom lazy message at INFO.
Logs an exception with a custom lazy message at INFO. The message will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Function that produces the message
- macro def info(exception: Throwable, message: String): Unit
Logs an exception with a custom message at INFO.
Logs an exception with a custom message at INFO.
Messages with embedded variables will be evaluated lazy by a macro.
- exception
Caught exception or any other throwable to log
- message
Text message to log
- macro def info(exception: Throwable): Unit
Logs an exception at INFO.
Logs an exception at INFO.
- exception
Caught exception or any other throwable to log
- macro def info(message: String, arguments: () => Any*): Unit
Logs a formatted message at INFO level.
Logs a formatted message at INFO level. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def info(message: String, arguments: Any*): Unit
Logs a formatted message at INFO.
Logs a formatted message at INFO. "{}" placeholders will be replaced by given arguments.
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def info(message: () => String): Unit
Logs a lazy message at INFO.
Logs a lazy message at INFO. The message will be only evaluated if the log entry is really output.
- message
Function that produces the message
- macro def info(message: String): Unit
Logs a message at INFO.
Logs a message at INFO.
Strings with embedded variables will be evaluated lazy by a macro.
- message
Text message to log
- macro def info(message: Any): Unit
Logs a message at INFO.
Logs a message at INFO.
- message
Any object with a meaningful
toString()
method
- macro def isDebugEnabled(): Boolean
Checks whether log entries at DEBUG will be output.
- macro def isErrorEnabled(): Boolean
Checks whether log entries at ERROR will be output.
- macro def isInfoEnabled(): Boolean
Checks whether log entries at INFO will beoutput.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def isTraceEnabled(): Boolean
Checks whether log entries at TRACE will be output.
- macro def isWarnEnabled(): Boolean
Checks whether log entries at WARN will be output.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tag(tag: String): TaggedLogger
Gets a tagged logger instance.
Gets a tagged logger instance. Tags are case-sensitive.
- tag
Tag for logger or
null
for receiving an untagged logger- returns
Logger instance
- def tags(tags: String*): TaggedLogger
Gets a tagged logger instance that logs to multiple tags.
Gets a tagged logger instance that logs to multiple tags. Tags are case-sensitive.
- tags
Tags for the logger or nothing for an untagged logger. If specified, each tag should be unique
- returns
Logger instance
- def toString(): String
- Definition Classes
- AnyRef → Any
- macro def trace(exception: Throwable, message: String, arguments: () => Any*): Unit
Logs an exception with a formatted message at TRACE.
Logs an exception with a formatted message at TRACE. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def trace(exception: Throwable, message: String, arguments: Any*): Unit
Logs an exception with a formatted custom message at TRACE.
Logs an exception with a formatted custom message at TRACE. "{}" placeholders will be replaced by given arguments.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def trace(exception: Throwable, message: () => String): Unit
Logs an exception with a custom lazy message at TRACE.
Logs an exception with a custom lazy message at TRACE. The message will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Function that produces the message
- macro def trace(exception: Throwable, message: String): Unit
Logs an exception with a custom message at TRACE.
Logs an exception with a custom message at TRACE.
Messages with embedded variables will be evaluated lazy by a macro.
- exception
Caught exception or any other throwable to log
- message
Text message to log
- macro def trace(exception: Throwable): Unit
Logs an exception at TRACE.
Logs an exception at TRACE.
- exception
Caught exception or any other throwable to log
- macro def trace(message: String, arguments: () => Any*): Unit
Logs a formatted message at TRACE level.
Logs a formatted message at TRACE level. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def trace(message: String, arguments: Any*): Unit
Logs a formatted message at TRACE.
Logs a formatted message at TRACE. "{}" placeholders will be replaced by given arguments.
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def trace(message: () => String): Unit
Logs a lazy message at TRACE.
Logs a lazy message at TRACE. The message will be only evaluated if the log entry is really output.
- message
Function that produces the message
- macro def trace(message: String): Unit
Logs a message at TRACE.
Logs a message at TRACE.
Strings with embedded variables will be evaluated lazy by a macro.
- message
Text message to log
- macro def trace(message: Any): Unit
Logs a message at TRACE.
Logs a message at TRACE.
- message
Any object with a meaningful
toString()
method
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- macro def warn(exception: Throwable, message: String, arguments: () => Any*): Unit
Logs an exception with a formatted message at WARN.
Logs an exception with a formatted message at WARN. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def warn(exception: Throwable, message: String, arguments: Any*): Unit
Logs an exception with a formatted custom message at WARN.
Logs an exception with a formatted custom message at WARN. "{}" placeholders will be replaced by given arguments.
- exception
Caught exception or any other throwable to log
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def warn(exception: Throwable, message: () => String): Unit
Logs an exception with a custom lazy message at WARN.
Logs an exception with a custom lazy message at WARN. The message will be only evaluated if the log entry is really output.
- exception
Caught exception or any other throwable to log
- message
Function that produces the message
- macro def warn(exception: Throwable, message: String): Unit
Logs an exception with a custom message at WARN.
Logs an exception with a custom message at WARN.
Messages with embedded variables will be evaluated lazy by a macro.
- exception
Caught exception or any other throwable to log
- message
Text message to log
- macro def warn(exception: Throwable): Unit
Logs an exception at WARN.
Logs an exception at WARN.
- exception
Caught exception or any other throwable to log
- macro def warn(message: String, arguments: () => Any*): Unit
Logs a formatted message at WARN level.
Logs a formatted message at WARN level. "{}" placeholders will be replaced by given lazy arguments. The arguments will be only evaluated if the log entry is really output.
- message
Formatted text message to log
- arguments
Functions that produce the arguments for formatted text message
- macro def warn(message: String, arguments: Any*): Unit
Logs a formatted message at WARN.
Logs a formatted message at WARN. "{}" placeholders will be replaced by given arguments.
- message
Formatted text message to log
- arguments
Arguments for formatted text message
- macro def warn(message: () => String): Unit
Logs a lazy message at WARN.
Logs a lazy message at WARN. The message will be only evaluated if the log entry is really output.
- message
Function that produces the message
- macro def warn(message: String): Unit
Logs a message at WARN.
Logs a message at WARN.
Strings with embedded variables will be evaluated lazy by a macro.
- message
Text message to log
- macro def warn(message: Any): Unit
Logs a message at WARN.
Logs a message at WARN.
- message
Any object with a meaningful
toString()
method
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated