# Using \`comptime level.asText\(\)\` in log example · gitcafe/zig

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

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

Visibility: public

Requested revision: 973b44056185132c1abc5bd5fb1c8c2c45d3d329

Requested commit: 973b44056185132c1abc5bd5fb1c8c2c45d3d329

Commit: 973b44056185132c1abc5bd5fb1c8c2c45d3d329

Tree: efbd912c0d144a0304aa7639533cf58bb1874b91

Author: Hashi364

Committer: Veikka Tuominen

## Message

```
Using `comptime level.asText()` in log example

Some recent change makes slice concatenation runtime (merge #12368), so the example needs to be explicitly made comptime.
```

## Parents

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

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