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