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
Name | Type | Required | Description |
---|
userId | string | No | |