log static method
void
log(})
log
Implementation
static void log(
String? message, {
DateTime? time,
int? sequenceNumber,
int level = 0,
String name = '',
// ignore: avoid_annotating_with_dynamic
dynamic error,
StackTrace? stackTrace,
}) {
if (!enable) {
return;
}
developer.log(message ?? '',
name: name, error: error, stackTrace: stackTrace);
}