task static method
Implementation
static void task(Object? object, {LoggerOptions? options}) {
final location = _getLocation();
LoggingRegistry().useLogging(LogLevel.task, object);
if (options?.isDebug == true) {
debugPrint(
"${DateTime.now().toIso8601String()} ${chalk.green("TASK: $object ✔")} ${chalk.grey('Location: $location')}");
return;
}
developer.log(
"${DateTime.now().toIso8601String()} ${chalk.green("TASK: $object ✔")} ${chalk.grey('Location: $location')}");
}