LogScope.root constructor

LogScope.root(
  1. String label
)

Creates a root scope for a process.

Implementation

factory LogScope.root(String label) => LogScope(
  id: 'root',
  label: label,
  startTime: DateTime.now(),
);