Task: Add show for xlogger function

This commit is contained in:
Sambo Chea 2021-06-17 18:27:50 +07:00
parent 635e3b49a1
commit 51f7293977

View File

@ -12,6 +12,10 @@ class XLog {
logger.show(XLogType.DEBUG, prefix, data, args); logger.show(XLogType.DEBUG, prefix, data, args);
} }
static void show(XLogType type, String prefix, dynamic data, [List? args]) {
logger.show(type, 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);
} }