Dev class

@param static enable: whether log msg. @param static isDebugPrint: whether the method Dev.print printing only on debug mode. @param static isLogFileLocation: whether log the location file info. @pararm static defaultColorInt: the color int of log text.

Constructors

Dev()

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

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 Properties

defaultColorInt int
getter/setter pair
enable bool
getter/setter pair
isDebugPrint bool?
getter/setter pair
isLogFileLocation bool
getter/setter pair

Static Methods

log(String msg, {bool? isLog, int? colorInt, String? fileLocation, DateTime? time, int? sequenceNumber, int level = 0, String name = 'logNor', Zone? zone, Object? error, StackTrace? stackTrace}) → void
Default color log @paramcolorInt: 0 to 107 @paramisLog: if set to true, the static enable is true or not, log anyway.
Blink orange text
logError(String msg, {bool? isLog}) → void
Red text
logInfo(String msg, {bool? isLog}) → void
Blue text
logSuccess(String msg, {bool? isLog}) → void
Green text
logWarning(String msg, {bool? isLog}) → void
Yellow text
print(Object? object, {bool? isLog, String? fileLocation, bool? isDebug}) → void
log supportting on multiple consoles @paramisDebug: default printing only on debug mode, not set using @param static isDebugPrint.