MonitorConfig constructor
const
MonitorConfig({
- bool showMemory = true,
- bool showLogs = true,
- bool trackStartup = true,
- bool interceptNetwork = true,
- int fpsWarningThreshold = 45,
- int memoryWarningThreshold = 500 * 1024 * 1024,
- bool enableNetworkMonitoring = true,
- bool enableBatteryMonitoring = true,
- bool enableDeviceInfo = true,
- LogLevel logLevel = LogLevel.info,
- bool exportLogs = false,
- bool enableDiskMonitoring = true,
- double diskWarningThreshold = 90.0,
Creates a new monitor configuration
Implementation
const MonitorConfig({
this.showMemory = true,
this.showLogs = true,
this.trackStartup = true,
this.interceptNetwork = true,
this.fpsWarningThreshold = 45,
this.memoryWarningThreshold = 500 * 1024 * 1024, // 500MB
this.enableNetworkMonitoring = true,
this.enableBatteryMonitoring = true,
this.enableDeviceInfo = true,
this.logLevel = LogLevel.info,
this.exportLogs = false,
this.enableDiskMonitoring = true,
this.diskWarningThreshold = 90.0, // Warn at 90% usage
});