Log class

定制的日志类

usage:

Log log = Log('debugName');
log.debug('Description here');

@author luodongseu

Constructors

Log(String name)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

debug(dynamic message, [Object error, StackTrace stackTrace]) → void
Log message at level DEBUG.
error(dynamic message, [Object error, StackTrace stackTrace]) → void
Log message at level ERROR.
info(dynamic message, [Object error, StackTrace stackTrace]) → void
Log message at level INFO.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
warning(dynamic message, [Object error, StackTrace stackTrace]) → void
Log message at level WARNING.

Operators

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

Static Properties

rootLevel Level
设置root的日志level
write-only