excludePaths property

List<String> excludePaths
final

A list of custom paths that are excluded from the stack trace.

For example, to exclude your MyLog util that redirects to this logger:

excludePaths: [
  // To exclude a whole package
  "package:test",
  // To exclude a single file
  "package:test/util/my_log.dart",
],

See also:

Implementation

final List<String> excludePaths;