class Logger extends LoggerBase with Serializable

An wrapper of java.util.logging.Logger for supporting rich-format logging

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

Instance Constructors

  1. new Logger(name: String, wrapped: java.util.logging.Logger)

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(h: Handler): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clear: Unit
  7. def clearAllHandlers: Unit

    Clean up all handlers including this and parent, ancestor loggers

  8. def clearHandlers: Unit
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. macro def debug(message: Any, cause: Throwable): Unit
    Definition Classes
    LoggerBase
  11. macro def debug(message: Any): Unit
    Definition Classes
    LoggerBase
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. macro def error(message: Any, cause: Throwable): Unit
    Definition Classes
    LoggerBase
  15. macro def error(message: Any): Unit
    Definition Classes
    LoggerBase
  16. def formatLog(message: Any): String
    Attributes
    protected
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def getHandlers: Seq[Handler]
  19. def getLogLevel: LogLevel
  20. def getName: String
  21. def getParent: Option[Logger]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. macro def info(message: Any, cause: Throwable): Unit
    Definition Classes
    LoggerBase
  24. macro def info(message: Any): Unit
    Definition Classes
    LoggerBase
  25. def isEnabled(level: LogLevel): Boolean
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isMultiLine(str: String): Boolean
    Attributes
    protected
  28. def log(level: LogLevel, source: LogSource, message: Any): Unit
  29. def log(record: LogRecord): Unit
  30. def logWithCause(level: LogLevel, source: LogSource, message: Any, cause: Throwable): Unit
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def resetHandler(h: Handler): Unit
  35. def resetLogLevel: Unit
  36. def setFormatter(formatter: LogFormatter): Unit
  37. def setLogLevel(l: LogLevel): Unit
  38. def setUseParentHandlers(use: Boolean): Unit
  39. def suppressLogAroundFuture[U](body: ⇒ Future[U])(implicit ec: ExecutionContext): Future[U]

    Suppress the log level around the given Future.

    Suppress the log level around the given Future. After the given Future completes, the log level will be reset to the original level.

  40. def suppressLogs[U](f: ⇒ U): U

    Suppress all log messages.

    Suppress all log messages. This is useful for error handling tests

  41. def suppressWarnings[U](f: ⇒ U): U

    Suppress warning messages (i.e., setting ERROR log level during the code block).

    Suppress warning messages (i.e., setting ERROR log level during the code block). Useful for exception testing

  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. macro def trace(message: Any, cause: Throwable): Unit
    Definition Classes
    LoggerBase
  45. macro def trace(message: Any): Unit
    Definition Classes
    LoggerBase
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. macro def warn(message: Any, cause: Throwable): Unit
    Definition Classes
    LoggerBase
  50. macro def warn(message: Any): Unit
    Definition Classes
    LoggerBase

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from LoggerBase

Inherited from AnyRef

Inherited from Any

Ungrouped