function packageBrowserLog()

in src/UserALEWebExtension/background.js [84:103]


function packageBrowserLog(type, logDetail) {
  var timeFields = extractTimeFields(getTimestamp());

  logs.push({
    'target' : null,
    'path' : null,
    'clientTime' : timeFields.milli,
    'microTime' : timeFields.micro,
    'location' : null,
    'type' : 'browser.' + type,
    'logType': 'raw',
    'userAction' : true,
    'details' : logDetail,
    'userId' : globals.toolUser,
    'toolVersion': null,
    'toolName': null,
    'useraleVersion': null,
    'sessionID': sessionId,
  });
}