PrettyPrinter constructor

PrettyPrinter({
  1. int methodCount = 2,
  2. int errorMethodCount = 8,
  3. int lineLength = 120,
  4. LogConfig? config,
  5. int stackTraceBeginIndex = 0,
  6. List<String>? excludePaths,
})

Implementation

PrettyPrinter({
  this.methodCount = 2,
  this.errorMethodCount = 8,
  this.lineLength = 120,
  LogConfig? config,
  this.stackTraceBeginIndex = 0,
  List<String>? excludePaths,
}) : config = config ?? LogConfig(), excludePaths = excludePaths ?? StackTraceParser.defaultExcludePaths;