log method

void log(
  1. String message,
  2. {Object? error,
  3. StackTrace? stackTrace}
)

Implementation

void log(
  String message, {
  Object? error,
  StackTrace? stackTrace,
}) {
  if (!enableLogging) return;
  devel.log(
    '$_tag $message',
    error: error,
    stackTrace: stackTrace,
  );
}