log.dart 244 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 import 'package:get/instance_manager.dart'; typedef LogWriterCallback = void Function(String text, {bool isError}); void defaultLogWriterCallback(String value, {bool isError = false}) { if (isError || GetConfig.isLogEnable) print(value); }