DebugTree.elapsed constructor

DebugTree.elapsed({
  1. List<String> logLevels = defaultLevels,
  2. bool useColors = false,
})

Creates elapsed time type Debug log tree with optional logLevels and useColors

Implementation

factory DebugTree.elapsed({
  List<String> logLevels = defaultLevels,
  bool useColors = false,
}) {
  return DebugTree(
    logLevels: logLevels,
    printTimeType: timeElapsedType,
    useColors: useColors,
  );
}