Audit Library
Contents
Audit Library
This library was first introduced in v7.2 |
This library contains audit logging functions.
Usage
Add the following into your build.gradle
file:
dependencies {
include "com.enonic.xp:lib-audit:${xpVersion}"
}
In your JavaScript controller, add a require statement:
const authLib = require('/lib/xp/audit');
You are now free to use the library functionality.