LoggingConfig constructor

LoggingConfig({
  1. required bool enableLogging,
  2. required String logLevel,
})

Creates a LoggingConfig instance.

Both enableLogging and logLevel are required.

  • enableLogging: Whether logging is enabled.
  • logLevel: The logging level (e.g., "DEBUG", "INFO", "WARNING", "ERROR").

Implementation

LoggingConfig({
  required this.enableLogging,
  required this.logLevel,
});