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