Task: Add logger for log debug for function to replace console log
This commit is contained in:
parent
f555d68a29
commit
84c0e44b87
@ -8,6 +8,10 @@ class XLog {
|
|||||||
logger.success(data, args);
|
logger.success(data, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void log(String prefix, dynamic data, [List? args]) {
|
||||||
|
logger.show(XLogType.DEBUG, prefix, data, args);
|
||||||
|
}
|
||||||
|
|
||||||
static void info(dynamic data, [List? args]) {
|
static void info(dynamic data, [List? args]) {
|
||||||
logger.info(data, args);
|
logger.info(data, args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user