I've tried lots of things and read the docs before posting here, however I'm struggling to inject a new template into a CustomizableLayout and i was wondering if you had an example I could use please? I must be doing something daft but an example would really help me. Here is what I'm currently trying, without any joy:
layout: !org.audit4j.core.layout.CustomizableLayout
template: ${eventDate}|${uuid}|${actor}|${action}|${origin} => ${foreach fields field}[${field.name}:${field.value}]${end}
It appears that 'template' could not be found on the org.audit4j.core.layout.CustomizableLayout class even though I can clearly see it is there...
If it helps the version of Audit4j I'm using is:
<dependency>
<groupId>org.audit4j</groupId>
<artifactId>audit4j-core</artifactId>
<version>2.5.0</version>
</dependency>
Any help much appreciated
Cheers
-Andy