class GangLogger extends AnyRef
GangLogger is a logger stack tool to store multiple loggers, and iteratively perform the log write action.
Loggers are initialized using scala reflection.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GangLogger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new GangLogger()
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
critical(msg: Any, throwable: Throwable = null)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条致命级别的日志
记录一条致命级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: Any)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条错误级别的日志
记录一条错误级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
info(msg: Any)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条信息级别的日志
记录一条信息级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(msg: Any, level: LogLevel.Value)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
通过参数指定级别的日志
通过参数指定级别的日志
- msg
日志内容
- level
日志级别
- enabled
subset of logger2Configuration.keySet()
-
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
success(msg: Any)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条成功级别的日志
记录一条成功级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(msg: Any)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条跟踪级别的日志
记录一条跟踪级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
-
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( ... )
-
def
warning(msg: Any)(implicit enabled: Seq[SupportedLogDest.Value] = Nil): Boolean
记录一条警告级别的日志
记录一条警告级别的日志
- msg
日志内容
- enabled
subset of logger2Configuration.keySet()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated