child method

Logger child(
  1. String name, {
  2. void output(
    1. String message
    )?,
})

Implementation

Logger child(
  String name, {
  void Function(String message)? output,
}) {
  return Logger(name, output: output ?? this.output, parent: this);
}