configureLogging function

void configureLogging({
  1. bool enableLogs = false,
})

Configures FlutterTimeGuard logging.

When enableLogs is true, the safeLog function emits messages using debugPrint. By default, logging is disabled to avoid noisy output.

Implementation

void configureLogging({bool enableLogs = false}) {
  _isLoggingEnabled = enableLogs;
}