class Logger extends AnyRef

Scala wrapper for logging.

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

Instance Constructors

  1. new Logger(name: String, wrapped: java.util.logging.Logger)
    Attributes
    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. def addHandler(handler: java.util.logging.Handler): Unit
  5. final def apply(level: Level, thrown: Throwable, message: String, items: Any*): Unit
  6. final def apply(level: Level, message: String, items: Any*): Unit
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clearHandlers(): Unit

    Remove all existing log handlers.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def critical(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  11. def critical(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  12. def debug(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  13. def debug(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  14. def debugLazy(msg: => AnyRef): Unit
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def error(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  18. def error(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  19. def fatal(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  20. def fatal(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getFilter(): Filter
  24. def getHandlers(): Array[java.util.logging.Handler]
  25. def getLevel(): java.util.logging.Level
  26. def getParent(): java.util.logging.Logger
  27. def getUseParentHandlers(): Boolean
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def ifCritical(thrown: Throwable, message: => AnyRef): Unit
  30. def ifCritical(message: => AnyRef): Unit
  31. def ifDebug(thrown: Throwable, message: => AnyRef): Unit
  32. def ifDebug(message: => AnyRef): Unit
  33. def ifError(thrown: Throwable, message: => AnyRef): Unit
  34. def ifError(message: => AnyRef): Unit
  35. def ifFatal(thrown: Throwable, message: => AnyRef): Unit
  36. def ifFatal(message: => AnyRef): Unit
  37. def ifInfo(thrown: Throwable, message: => AnyRef): Unit
  38. def ifInfo(message: => AnyRef): Unit
  39. def ifTrace(thrown: Throwable, message: => AnyRef): Unit
  40. def ifTrace(message: => AnyRef): Unit
  41. def ifWarning(thrown: Throwable, message: => AnyRef): Unit
  42. def ifWarning(message: => AnyRef): Unit
  43. def info(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  44. def info(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def isLoggable(level: java.util.logging.Level): Boolean
  47. final def log(level: Level, thrown: Throwable, message: String, items: Any*): Unit

    Log a message, with sprintf formatting, at the desired level, and attach an exception and stack trace.

    Log a message, with sprintf formatting, at the desired level, and attach an exception and stack trace. The message is lazily formatted if formatting is required.

    Annotations
    @varargs()
  48. final def log(level: Level, message: String, items: Any*): Unit

    Log a message, with sprintf formatting, at the desired level.

    Log a message, with sprintf formatting, at the desired level.

    Annotations
    @varargs()
  49. def log(record: java.util.logging.LogRecord): Unit
  50. def logLazy(level: Level, thrown: Throwable, message: => AnyRef): Unit

    Log a message, with lazy (call-by-name) computation of the message, and attach an exception and stack trace.

  51. def logLazy(level: Level, message: => AnyRef): Unit

    Log a message, with lazy (call-by-name) computation of the message, at the desired level.

  52. val name: String
  53. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. def removeHandler(handler: java.util.logging.Handler): Unit
  57. def setFilter(filter: Filter): Unit
  58. def setLevel(level: java.util.logging.Level): Unit
  59. def setUseParentHandlers(use: Boolean): Unit
  60. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  61. def throwable(thrown: Throwable, message: => AnyRef): Unit

    Lazily logs a throwable.

    Lazily logs a throwable. If the throwable contains a log level (via HasLogLevel), it will log at the stored level, otherwise it will log at Level.ERROR.

  62. def throwable(thrown: Throwable, message: => AnyRef, defaultLevel: Level): Unit

    Lazily logs a throwable.

    Lazily logs a throwable. If the throwable contains a log level (via HasLogLevel), it will log at the stored level, otherwise it will log at defaultLevel.

  63. def toString(): String
    Definition Classes
    Logger → AnyRef → Any
  64. def trace(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  65. def trace(msg: String, items: Any*): Unit
    Annotations
    @varargs()
  66. def traceLazy(msg: => AnyRef): Unit
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. def warning(thrown: Throwable, msg: String, items: Any*): Unit
    Annotations
    @varargs()
  71. def warning(msg: String, items: Any*): Unit
    Annotations
    @varargs()

Inherited from AnyRef

Inherited from Any

Ungrouped