You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uco-mobile-poc/lib/app/core/utils/logs_utils.dart

24 lines
406 B
Dart

import 'dart:io';
import 'package:flutter/material.dart';
dp(msg, arg) {
// debugPrint("\n");
if (Platform.isAndroid) {
debugPrint("\u001b[1;32m $msg $arg");
} else {
debugPrint("$msg $arg");
}
}
pe(msg, arg) {
if (Platform.isAndroid) {
debugPrint("\u001b[1;31m $msg ");
debugPrint("\u001b[1;31m $arg");
} else {
debugPrint("$msg ");
debugPrint("$arg");
}
}