# `Mailglass.Credo.NoFullResponseInLogs`
[🔗](https://github.com/szTheory/mailglass/blob/v1.0.0/credo_checks/no_full_response_in_logs.ex#L1)

## Basics

> #### This check is disabled by default. {: .neutral}
>
> [Learn how to enable it](`e:credo:config_file.html#checks`) via `.credo.exs`.

This check has a base priority of `high` and works with any version of Elixir.

## Explanation

Avoid logging full provider responses at info/warning/error levels.

## Check-Specific Parameters

Use the following parameters to configure this check:

### `:levels`

  Logger levels to inspect.

*This parameter defaults to* `[:info, :warning, :error]`.

### `:included_path_prefixes`

  Only files in these path prefixes are linted.

*This parameter defaults to* `["lib/mailglass/"]`.

### `:suspicious_fragments`

  Variable-name fragments treated as response payload hints.

*This parameter defaults to* `["response", "resp", "body", "payload"]`.

## General Parameters

Like with all checks, [general params](`e:credo:check_params.html`) can be applied.

Parameters can be configured via the [`.credo.exs` config file](`e:credo:config_file.html`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
