@Override
    public String format(AuditEvent event) {
        Map<String, Object> model = new HashMap<String, Object>();
        model.put("eventDate", event.getTimestamp());
        model.put("uuid", event.getUuid());
        model.put("action", event.getAction());
        model.put("origin", event.getOrigin());
        model.put("actor", event.getActor());
        model.put("fields", event.getFields());
        return engine.transform(template, model);
    }
@ Override public String format ( AuditEvent event ) { Map < String , Object > model = new HashMap < String , Object > ( ) ; model . put ( "eventDate" , event . getTimestamp ( ) ) ; model . put ( "uuid" , event . getUuid ( ) ) ; model . put ( "action" , event . getAction ( ) ) ; model . put ( "origin" , event . getOrigin ( ) ) ; model . put ( "actor" , event . getActor ( ) ) ; model . put ( "fields" , event . getFields ( ) ) ; return engine . transform ( template , model ) ; }
{@inheritDoc}

@see org.audit4j.core.layout.Layout#format(org.audit4j.core.dto.AuditEvent)