mobile_skt/lib/util/logger_util.dart

13 lines
269 B
Dart
Raw Normal View History

2024-10-16 09:48:17 +08:00
import 'package:get/get.dart';
import 'package:sk_base_mobile/config.dart';
class LoggerUtil {
void error(dynamic msg) {
if (GloablConfig.DEBUG) printError(info: '$msg');
}
void info(dynamic msg) {
if (GloablConfig.DEBUG) printInfo(info: '$msg');
}
}