LogOutput.redirect constructor

const LogOutput.redirect({
  1. bool enabled,
  2. required LogOutput child,
})

redirect implementation

redirect conditionally

enabled by default

Implementation

const factory LogOutput.redirect({
  bool enabled,
  required LogOutput child,
}) = LogOutputRedirectImpl;