> For the complete documentation index, see [llms.txt](https://lazarus-dev.gitbook.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lazarus-dev.gitbook.io/en/laz-logs.md).

# Laz-logs

standalone system to create logs on our server

## Laz-Logs:LogFields

{% tabs %}
{% tab title="client" %}

```lua
TriggerServerEvent('Laz-Logs:LogFields',
    typewebhook,
    title,
    Description,
    color,
    footer,
    field,
    id,
    tag -- true or false
    )
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerEvent('Laz-Logs:LogFields',
typewebhook, 
title, 
Description, 
color, 
footer, 
field, 
id,
tag  -- true or false
)
```

{% endtab %}
{% endtabs %}

### field

```lua
field = {
    name = 'option Title',
    value = 'option value',
    inline = true --true or false
}
```

{% hint style="warning" %}

## Desactive description

* ```lua
  TriggerServerEvent('Laz-Logs:LogFields',
  typewebhook,
  title,
  false,
  color,
  footer,
  field,
  id,
  tag -- true pr false
  )
  ```

{% endhint %}

{% hint style="info" %}

## Active mentions

* <pre class="language-lua"><code class="lang-lua">TriggerServerEvent('Laz-Logs:LogFields',
  <strong>typewebhook,
  </strong>title,
  description,
  color,
  footer,
  field,
  id,
  true
  )
  </code></pre>

{% endhint %}

## Laz-Logs:SimplyLog

{% tabs %}
{% tab title="Client" %}

```lua
TriggerServerEvent('Laz-Logs:SimplyLog',
typewebhook,
title, 
color, 
'Inventario', 
text,
tag -- true or false
)
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerEvent('Laz-Logs:SimplyLog',
typewebhook,
title, 
color, 
'Inventario', 
text,
tag -- true or false
)
```

{% endtab %}
{% endtabs %}
