Merge branch 'master_hyx'

This commit is contained in:
anfe 2024-05-13 17:52:40 +08:00
commit 00c108b412

View File

@ -14,6 +14,7 @@ class AppLog {
_onlyError = onlyError ?? false;
}
static log(String msg,{bool? error}){
DebugConsole.info(msg);
if(!kDebugMode)return;
error = error ?? false;
// if(!_printLog)return;
@ -21,7 +22,6 @@ class AppLog {
if(error){
msg = '----->>> $msg';
}
DebugConsole.info(msg);
Get.log(msg);
}
}