Comment out debugPrint override in release mode
The line that disables debugPrint in release mode has been commented out, allowing debug messages to be printed even in release builds. This may be for troubleshooting or to temporarily enable logging.
This commit is contained in:
parent
1a0483ff0e
commit
93ab5f8514
|
|
@ -122,7 +122,7 @@ void main(List<String> args) async {
|
|||
Future prepareApp() async {
|
||||
if (!_args.contains("--debug") && isRelease) {
|
||||
// ignore: avoid_returning_null_for_void
|
||||
debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
//debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
} else {
|
||||
_args.remove("--debug");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue