LogEvent<E> class

Constructors

LogEvent(Level level, dynamic message, {String tag = '', StackTrace? stackTrace, E? exception, DateTime? dateTime, dynamic errorMarkedMessage})

Properties

dateTime DateTime?
日志记录时间
final
errorMarkedMessage → dynamic
Level.fatalLevel.wtf日志,errorMarkedMessage消息区别于其它内容显示;
final
exception → E?
异常日志
final
hashCode int
The hash code for this object.
no setterinherited
level Level
日志级别
final
message → dynamic
描述性日志信息
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
堆栈信息(在日志调用时传入)
final
tag String
日志标记值(可用作控制台或日志定位过滤条件)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited