Logger.writeLogForiOS
The logs are disabled by default. In order to use ZohoSalesIQ.Logger.write() function. Ensure the bool value of ZohoSalesIQ.Logger.setEnabled(bool enable); is set as true.
Syntax
CopiedZohoSalesIQLogger.writeLogForiOS(log String, level String, Callback callback);
Example
Copiedimport 'package:salesiq_mobilisten/logger.dart';
...
ZohoSalesIQLogger.writeLogForiOS(“Debug log”, Level.info).then((_) {
}).catchError((error) {
});
Log Level
CopiedLevel.info
Level.warning
Level.error