logger property
Logger?
logger
getter/setter pair
An optional custom logger instance that will be used to log errors caught by this ErrorBoundary when shouldLogErrors is true.
Implementation
Logger? logger;