Skip to contents

This function sets the event type for an audit log. It retrieves the audit log from the request's internal data, and then calls the audit log's set_event_type method with the provided event type.

Usage

audit_log_set_event_type(event_type, req)

Arguments

event_type

The event type to be set for the audit log.

req

The request object, which should contain an audit log in its internal data.

Value

Returns nothing as it modifies the audit log in-place.