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

customFinalFunc ↔ dynamic Function(String)?
getter/setter pair
defaultColorInt int
getter/setter pair
enable bool
getter/setter pair
isDebugPrint bool?
getter/setter pair
isLogFileLocation bool
getter/setter pair

Static Methods

exe(String msg, {String? name, DevLevel level = DevLevel.logNor, bool? isLog, bool? isMultConsole, bool? isDebug, int? colorInt, String? fileInfo}) → void
Execute custom final func with purple text or blue text with mult console
exeError(String msg, {bool? isLog, bool? isMultConsole, bool? isDebug}) → void
exeInfo(String msg, {bool? isLog, bool? isMultConsole, bool? isDebug}) → void
exeSuccess(String msg, {bool? isLog, bool? isMultConsole, bool? isDebug}) → void
exeWarning(String msg, {bool? isLog, bool? isMultConsole, bool? isDebug}) → void
log(String msg, {DevLevel level = DevLevel.logNor, bool? isLog, int? colorInt, String? fileLocation, DateTime? time, int? sequenceNumber, String? name, Zone? zone, Object? error, StackTrace? stackTrace, bool? execFinalFunc}) → 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, bool? execFinalFunc}) → void
Red text
logInfo(String msg, {bool? isLog, bool? execFinalFunc}) → void
Blue text
logSuccess(String msg, {bool? isLog, bool? execFinalFunc}) → void
Green text
logWarning(String msg, {bool? isLog, bool? execFinalFunc}) → void
Yellow text
print(Object? object, {String? name, DevLevel level = DevLevel.logNor, bool? isLog, String? fileLocation, bool? isDebug, bool? execFinalFunc}) → void
log supportting on multiple consoles @paramisDebug: default printing only on debug mode, not set using @param static isDebugPrint.