Logger class final

Class that handles the logging.

Constructors

Logger.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

logError(Object? message, {int level = 0, int? sequenceNumber, DateTime? time, Zone? zone}) → void
The method that should be used to log error messages.
logInfo(Object? message, {int level = 0, int? sequenceNumber, DateTime? time, Zone? zone}) → void
The method that should be used to log info messages.
logSuccess(Object? message, {int level = 0, int? sequenceNumber, DateTime? time, Zone? zone}) → void
The method that should be used to log success messages.
logWarning(Object? message, {int level = 0, int? sequenceNumber, DateTime? time, Zone? zone}) → void
The method that should be used to log warning messages.
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

Static Methods

log(Object? message, {LoggerColor color = LoggerColor.black, int level = 0, int? sequenceNumber, DateTime? time, Zone? zone}) → void
The default method to log the messages on terminal.