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

# configuration

## Sending in log data

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

```javascript
tbd...
```

{% endtab %}

{% tab title="Advanced" %}

```javascript
// draft!!!
const adr = new AdrHttpFetch('http://graylog.example.org:12202/gelf');
const gjs = new GelfJs(new CfgBuilder(adr).build());

adr.send(gjs.message('welcome', 1, {tom: 'cat', spike: 'bulldog'})); // Promise
```

{% endtab %}

{% tab title="Nightmare" %}

```
tbd...
```

{% endtab %}
{% endtabs %}
