Logger class

Main class that provides Logging functionality

tag should be set to the name of the project Can be used to ignore LogMessage from a particular tag

Constructors

Logger(String name, [String tag = 'none'])
const

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
final

Methods

debug(dynamic message, {bool includeStackTrace = false, dynamic stackTrace}) → void
error(dynamic message, {bool includeStackTrace = true, dynamic stackTrace}) → void
fine(dynamic message, {bool includeStackTrace = false, dynamic stackTrace}) → void
info(dynamic message, {bool includeStackTrace = false, dynamic stackTrace}) → void
log(LogMessage message) → void
Generic function which sends message to LogWriter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
warning(dynamic message, {bool includeStackTrace = false, dynamic stackTrace}) → void

Operators

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

Static Properties

writer LogWriter
getter/setter pair