Loger in Mobile App

This commit is contained in:
2025-10-22 17:43:24 +05:30
parent 72a9d5711a
commit 2743f92283
7 changed files with 95 additions and 51 deletions

15
lib/core/logger.dart Normal file
View File

@@ -0,0 +1,15 @@
import 'package:kmobile/core/toast.dart';
class Logger {
static void info(String message) {
showToast('INFO: $message');
}
static void warning(String message) {
showToast('WARNING: $message');
}
static void error(String message) {
showToast('ERROR: $message');
}
}