MPrettyPrinter constructor

MPrettyPrinter({
  1. int stackTraceBeginIndex = 0,
  2. int? methodCount = methodCount,
  3. int? errorMethodCount = errorMethodCount,
  4. int lineLength = consoleOutputLength,
  5. bool colors = true,
  6. bool printEmojis = true,
  7. bool? printTime = true,
  8. Map<Level, bool> excludeBox = const {},
  9. bool noBoxingByDefault = false,
  10. List<String> excludePaths = const [],
  11. Map<Level, AnsiColor>? levelColors,
  12. Map<Level, String>? levelEmojis,
})

Implementation

MPrettyPrinter({
  super.stackTraceBeginIndex = 0,
  super.methodCount = methodCount,
  super.errorMethodCount = errorMethodCount,
  super.lineLength = consoleOutputLength,
  super.colors = true,
  super.printEmojis = true,
  super.printTime = true,
  super.excludeBox = const {},
  super.noBoxingByDefault = false,
  List<String> excludePaths = const [],
  super.levelColors,
  super.levelEmojis,
}) : super(
        excludePaths: [
          ...excludePaths,
          'packages/flutter_sm_logger',
          'package:flutter_sm_logger',
        ],
      );