Packages

object Logger

Static logger for issuing log entries.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. 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

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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. macro def debug(message: Any): Unit

    Logs a message at DEBUG.

    Logs a message at DEBUG.

    message

    Any object with a meaningful toString() method

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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

  25. 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

  26. 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

  27. macro def error(message: Any): Unit

    Logs a message at ERROR.

    Logs a message at ERROR.

    message

    Any object with a meaningful toString() method

  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. 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

  31. 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

  32. 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

  33. 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

  34. 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

  35. 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

  36. 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

  37. 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

  38. 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

  39. macro def info(message: Any): Unit

    Logs a message at INFO.

    Logs a message at INFO.

    message

    Any object with a meaningful toString() method

  40. macro def isDebugEnabled(): Boolean

    Checks whether log entries at DEBUG will be output.

    Checks whether log entries at DEBUG will be output.

    returns

    true if DEBUG level is enabled, false if disabled

  41. macro def isErrorEnabled(): Boolean

    Checks whether log entries at ERROR will be output.

    Checks whether log entries at ERROR will be output.

    returns

    true if ERROR level is enabled, false if disabled

  42. macro def isInfoEnabled(): Boolean

    Checks whether log entries at INFO will beoutput.

    Checks whether log entries at INFO will beoutput.

    returns

    true if INFO level is enabled, false if disabled

  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. macro def isTraceEnabled(): Boolean

    Checks whether log entries at TRACE will be output.

    Checks whether log entries at TRACE will be output.

    returns

    true if TRACE level is enabled, false if disabled

  45. macro def isWarnEnabled(): Boolean

    Checks whether log entries at WARN will be output.

    Checks whether log entries at WARN will be output.

    returns

    true if WARN level is enabled, false if disabled

  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. 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

  51. 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

  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. 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

  54. 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

  55. 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

  56. 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

  57. 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

  58. 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

  59. 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

  60. 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

  61. 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

  62. macro def trace(message: Any): Unit

    Logs a message at TRACE.

    Logs a message at TRACE.

    message

    Any object with a meaningful toString() method

  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. 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

  67. 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

  68. 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

  69. 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

  70. 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

  71. 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

  72. 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

  73. 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

  74. 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

  75. 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

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped