Logger.destroy constructor

Logger.destroy(
  1. Type type,
  2. Future future,
  3. SqlBuilder builder
)

Implementation

Logger.destroy(Type type, Future future, SqlBuilder builder) {
  Logger._start();
  future
      .whenComplete(() => _log('${_elapsed(type)}\x1B[31m -- ${builder.sql} '
          '[${builder.arguments!.join(', ')}] --- \x1B[0m'));
}