<#-- Shows some general audit info about the current document --> <#if document?exists>

#### Current Docuement Audit Info

Name: ${document.name}

User Name | Application | Service | Method | Timestamp | Failed | Message | Arg 1 | Arg 2 | Arg 3 | Arg 4 | Arg 5 | Return | Thowable | TX
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
<#list document.auditTrail as t>
<#if t.auditService?exists>
<#else>
<#if t.auditMethod?exists>
<#else>
<#if t.fail?exists>
<#else>
<#if t.message?exists>
<#else>
<#if t.methodArgumentsAsStrings[0]?exists>
<#else>
<#if t.methodArgumentsAsStrings[1]?exists>
<#else>
<#if t.methodArgumentsAsStrings[2]?exists>
<#else>
<#if t.methodArgumentsAsStrings[3]?exists>
<#else>
<#if t.methodArgumentsAsStrings[4]?exists>
<#else>
<#if t.returnObjectAsString?exists>
<#else>
<#if t.throwableAsString?exists>
<#else>

${t.userIdentifier}

${t.auditApplication}

${t.auditService}

${t.auditMethod}

${t.date}

${t.fail?string("FAILED", "OK")}

${t.message}

${t.methodArgumentsAsStrings[0]}

${t.methodArgumentsAsStrings[1]}

${t.methodArgumentsAsStrings[2]}

${t.methodArgumentsAsStrings[3]}

${t.methodArgumentsAsStrings[4]}

${t.returnObjectAsString}

${t.throwableAsString}

${t.txId}

<#elseif space?exists>

#### Current Space Audit Info:

Name: ${space.name}

User Name | Application | Service | Method | Timestamp | Failed | Message | Arg 1 | Arg 2 | Arg 3 | Arg 4 | Arg 5 | Return | Thowable | TX
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
<#list space.auditTrail as t>
<#if t.auditService?exists>
<#else>
<#if t.auditMethod?exists>
<#else>
<#if t.fail?exists>
<#else>
<#if t.message?exists>
<#else>
<#if t.methodArgumentsAsStrings[0]?exists>
<#else>
<#if t.methodArgumentsAsStrings[1]?exists>
<#else>
<#if t.methodArgumentsAsStrings[2]?exists>
<#else>
<#if t.methodArgumentsAsStrings[3]?exists>
<#else>
<#if t.methodArgumentsAsStrings[4]?exists>
<#else>
<#if t.returnObjectAsString?exists>
<#else>
<#if t.throwableAsString?exists>
<#else>

${t.userIdentifier}

${t.auditApplication}

${t.auditService}

${t.auditMethod}

${t.date}

${t.fail?string("FAILED", "OK")}

${t.message}

${t.methodArgumentsAsStrings[0]}

${t.methodArgumentsAsStrings[1]}

${t.methodArgumentsAsStrings[2]}

${t.methodArgumentsAsStrings[3]}

${t.methodArgumentsAsStrings[4]}

${t.returnObjectAsString}

${t.throwableAsString}

${t.txId}