enableLog method

AutoTrack enableLog()

Implementation

AutoTrack enableLog() {
  final logger = AutoTrackLogger.getInstance();
  if (!logger.hasHandler) {
    logger.setHandler((level, message) {
      if (kDebugMode) {
        print('AutoTrack [$level] - $message');
      }
    });
  }
  return _instance;
}