logger property

  1. @override
Logger? logger

An optional custom logger instance that will be used to log errors caught by this ErrorBoundary when shouldLogErrors is true.

Implementation

@override
Logger? get logger =>
    (props[_$key__logger___$ErrorBoundaryPropsMixin] ?? null) as Logger?;
  1. @override
void logger=(Logger? value)

An optional custom logger instance that will be used to log errors caught by this ErrorBoundary when shouldLogErrors is true.

Implementation

@override
set logger(Logger? value) =>
    props[_$key__logger___$ErrorBoundaryPropsMixin] = value;