Task: Add logger for log debug for function to replace console log

This commit is contained in:
Sambo Chea 2021-06-11 19:48:51 +07:00
parent f555d68a29
commit 84c0e44b87

View File

@ -8,6 +8,10 @@ class XLog {
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]) {
logger.info(data, args);
}