$audit()

Overview

public any function $audit(
      string userId
)

Proxy to auditService.log() method. Creates an audit log entry.

Example

$audit(
detail   = {}
, source   = "login"
, action   = "login_success"
, type     = "user"
);

Arguments

NameTypeRequiredDescription
userIdstringNo