To share Console Log with EnableX Tech Team for auditing purpose, use Enx.postClientLogs() . The method sends latest 200KB of Console Log to EnableX.

Method: Enx.postClientLogs()

Callback: logsUploaded – When logs get posted to EnableX

Before you can share Console Log, you need to enable Console logging.

Method: enableLogs(loggingState)

Parameter: loggingState – Boolean. Pass true to enable, false to disable logging

Enx.enableLogs(true); // Enable Logging
Enx.postClientLogs(); // Post Log to EnableX

logsUploaded : event =>{
 // Logs uploaded
 // event = { msg:'success', result:0 }