errorWithStack function

dynamic errorWithStack(
  1. Object error,
  2. StackTrace stackTrace
)

Implementation

errorWithStack(Object error, StackTrace stackTrace) {
  if (_logEnabled) {
    _logger?.e(error.toString(), error, stackTrace);
    _track(error, error, stackTrace);
  }
}