domBuilderLog function
void
domBuilderLog(
- String message, {
- bool warning = false,
- Object? error,
- StackTrace? stackTrace,
Implementation
void domBuilderLog(String message,
{bool warning = false, Object? error, StackTrace? stackTrace}) {
if (error != null) {
print('dom_builder> [ERROR] $message > $error');
} else if (warning) {
print('dom_builder> [WARNING] $message');
} else {
print('dom_builder> $message');
}
if (stackTrace != null) {
print(stackTrace);
}
}