# std.GeneralPurposeAllocator: logging improvements · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/766b315b3888f0f9ac1ece69131cdf23f98b2c14)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 766b315b3888f0f9ac1ece69131cdf23f98b2c14

Requested commit: 766b315b3888f0f9ac1ece69131cdf23f98b2c14

Commit: 766b315b3888f0f9ac1ece69131cdf23f98b2c14

Tree: 806237a7b9710f0ce1467fff3301bc2d2094c447

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.GeneralPurposeAllocator: logging improvements

It now uses the log scope "gpa" instead of "std".

Additionally, there is a new config option `verbose_log` which enables
info log messages for every allocation. Can be useful when debugging.
This option is off by default.

```

## Parents

- [0808d98e10c5fea27cebf912c6296b760c2b837b](https://git.cafe/gitcafe/zig/commit/0808d98e10c5fea27cebf912c6296b760c2b837b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/766b315b3888f0f9ac1ece69131cdf23f98b2c14?format=markdown)
