> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Console logs

The Gleap SDK collects console logs by default. Further more you can make use of our <a href="#custom-logs">custom logs</a>, which offer more control over the logs.

## Custom logs

Custom logs allow you to create logs in the Gleap activity log. There are three severnity types available for logs: `ERROR`, `WARNING` and `INFO`.

```js theme={null}
cordova.plugins.GleapPlugin.log("This is a test custom log.");
```

By default logs will be created with the severnity `INFO`. Use the following method to explicitly set the severnity.

```js theme={null}
cordova.plugins.GleapPlugin.log(
  "This is a test custom log WARNING.",
  "WARNING"
);
```
