class Logger extends Serializable
An wrapper of java.util.logging.Logger for supporting rich-format logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Logger
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Logger(name: String, wrapped: java.util.logging.Logger)
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
- def addHandler(h: Handler): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear: Unit
-
def
clearAllHandlers: Unit
Clean up all handlers including this and parent, ancestor loggers
- def clearHandlers: Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- macro def debug(message: Any, cause: Throwable): Unit
- macro def debug(message: Any): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- macro def error(message: Any, cause: Throwable): Unit
- macro def error(message: Any): Unit
-
def
formatLog(message: Any): String
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getHandlers: Seq[Handler]
- def getLogLevel: LogLevel
- def getName: String
- def getParent: Option[Logger]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- macro def info(message: Any, cause: Throwable): Unit
- macro def info(message: Any): Unit
- def isEnabled(level: LogLevel): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMultiLine(str: String): Boolean
- Attributes
- protected
- def log(level: LogLevel, source: LogSource, message: Any): Unit
- def log(record: LogRecord): Unit
- def logWithCause(level: LogLevel, source: LogSource, message: Any, cause: Throwable): Unit
-
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()
- def resetHandler(h: Handler): Unit
- def resetLogLevel: Unit
- def setFormatter(formatter: LogFormatter): Unit
- def setLogLevel(l: LogLevel): Unit
- def setUseParentHandlers(use: Boolean): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- macro def trace(message: Any, cause: Throwable): Unit
- macro def trace(message: Any): Unit
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- macro def warn(message: Any, cause: Throwable): Unit
- macro def warn(message: Any): Unit
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.