@@ -161,7 +161,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
161161 );
162162
163163 assert (() {
164- log. info ('setting initial location $initialLocation ' );
164+ log ('setting initial location $initialLocation ' );
165165 return true ;
166166 }());
167167 }
@@ -338,13 +338,13 @@ class GoRouter implements RouterConfig<RouteMatchList> {
338338 /// Navigate to a URI location w/ optional query parameters, e.g.
339339 /// `/family/f2/person/p1?color=blue`
340340 void go (String location, {Object ? extra}) {
341- log. info ('going to $location ' );
341+ log ('going to $location ' );
342342 routeInformationProvider.go (location, extra: extra);
343343 }
344344
345345 /// Restore the RouteMatchList
346346 void restore (RouteMatchList matchList) {
347- log. info ('restoring ${matchList .uri }' );
347+ log ('restoring ${matchList .uri }' );
348348 routeInformationProvider.restore (
349349 matchList.uri.toString (),
350350 matchList: matchList,
@@ -376,7 +376,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
376376 /// it as the same page. The page key will be reused. This will preserve the
377377 /// state and not run any page animation.
378378 Future <T ?> push <T extends Object ?>(String location, {Object ? extra}) async {
379- log. info ('pushing $location ' );
379+ log ('pushing $location ' );
380380 return routeInformationProvider.push <T >(
381381 location,
382382 base : routerDelegate.currentConfiguration,
@@ -409,7 +409,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
409409 /// state and not run any page animation.
410410 Future <T ?> pushReplacement <T extends Object ?>(String location,
411411 {Object ? extra}) {
412- log. info ('pushReplacement $location ' );
412+ log ('pushReplacement $location ' );
413413 return routeInformationProvider.pushReplacement <T >(
414414 location,
415415 base : routerDelegate.currentConfiguration,
@@ -448,7 +448,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
448448 /// * [pushReplacement] which replaces the top-most page of the page stack but
449449 /// always uses a new page key.
450450 Future <T ?> replace <T >(String location, {Object ? extra}) {
451- log. info ('replace $location ' );
451+ log ('replace $location ' );
452452 return routeInformationProvider.replace <T >(
453453 location,
454454 base : routerDelegate.currentConfiguration,
@@ -486,7 +486,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
486486 /// of any GoRoute under it.
487487 void pop <T extends Object ?>([T ? result]) {
488488 assert (() {
489- log. info ('popping ${routerDelegate .currentConfiguration .uri }' );
489+ log ('popping ${routerDelegate .currentConfiguration .uri }' );
490490 return true ;
491491 }());
492492 routerDelegate.pop <T >(result);
@@ -495,7 +495,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
495495 /// Refresh the route.
496496 void refresh () {
497497 assert (() {
498- log. info ('refreshing ${routerDelegate .currentConfiguration .uri }' );
498+ log ('refreshing ${routerDelegate .currentConfiguration .uri }' );
499499 return true ;
500500 }());
501501 routeInformationProvider.notifyListeners ();
0 commit comments