---
title: Logs
slug: aura/logs
docTags: 
createdAt: 2025-07-07T20:39:55.891Z
---

Este módulo é responsável pela geração de logs durante o tempo de execução da aplicação. Os logs são registrados em um arquivo, utilizando o formato chave-valor.

## Atalhos

- **[Log](docId\:YCeYigLFa54z8iA80A0Yh)**

***

### Métodos

### Log

```lua
-- @param identifier The identifier of the log
-- @param value The value to be logged.
log(identifier, value)
```

```lua
function process_data(a)
    -- Perform some operations (this can be customized)
    -- For the sake of this example, we will simply pass the variable through unchanged.

    log("PROCESSING", a)

    return a
end

-- Assuming the variable "a" has the value of 42:
local a = 42

-- When the function is called, the log entry generated would look like this:
-- [2025-02-13 18:03:37.137227800 -03:00 "PROCESSING"]: 42

```

