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