From 51f7293977699cfcb2ce9873df19fe7e9c434704 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Thu, 17 Jun 2021 18:27:50 +0700 Subject: [PATCH] Task: Add show for xlogger function --- lib/src/xlog/xlog.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/xlog/xlog.dart b/lib/src/xlog/xlog.dart index aa60516..358f5ae 100644 --- a/lib/src/xlog/xlog.dart +++ b/lib/src/xlog/xlog.dart @@ -12,6 +12,10 @@ class XLog { 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]) { logger.info(data, args); }