log method

void log()

log the detailed of the navigation steps.

Implementation

void log() {
  String l = uri.toString();

  String m = 'Routing to location: "$l" (Path is:"$path"). ';
  if (redirectedFrom != null) {
    m += 'RedirectedFrom: $_redirectedFrom';
  }
  NavigationBuilderLogger.log(m);
}