FlagshipConfig constructor
FlagshipConfig({
- int timeout = TIMEOUT,
- StatusListener? statusListener,
- Level logLevel = Level.ALL,
- bool activeLog = true,
Implementation
FlagshipConfig(
{this.timeout = TIMEOUT,
this.statusListener,
Level logLevel = Level.ALL,
bool activeLog = true}) {
// Set the log Manager
this.logManager = LogManager(level: logLevel, enabledLog: activeLog);
// Log the timeout value in ms
Flagship.logger(Level.ALL, "Flagship The timeout is : $timeout ms");
}