---
title: "admWriteAuditLog"
canonical: "https://support.appfire.com/space/PSJ/15489198/admWriteAuditLog"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admWriteAuditLog(category, summary, description); | **Package** | adm |
| **Alias** |  | **Pkg Usage** | writeAuditLog(category, summary, description); |

## Description

> Macro (excerpt)
> 
> Creates an entry in the system audit log.

Creates an entry in the system audit log.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| Category | String | Yes | Category used to filter the audit log entry. Acceptable values:<br>> Macro (nested-table) |
| Summary | String | Yes | A brief description of the audit log entry. |
| Description | String | Yes | A more detailed account about the nature of the audit log entry. |

## Return Type

**Boolean**

Returns "true" if operation succeeded.

## Example

```
admWriteAuditLog("FIELDS", "Custom field options updated", "The custom field options for field [Field Name] were updated automatically using Power Scripts... In case you were wondering how that happened.");
```

## See also

> Macro (contentbylabel)