foundry-rs / foundry-rs/foundry

feat(`forge test`): collect all logs and print at the end

Open
#10,017 3 comments 0 reactions 0 assignees View on GitHub
C-forge Cmd-forge-test T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Forge

### Describe the feature you would like

Would be nice to enable a flag in the foundry.toml for the logs to be printed after the traces when using forge test. It has become quite annoying in my case to have to scroll through ~300-500 lines of traces to read my logs, which usually contain the most important information for my issues. Generally speaking, if I read my logs, I can tell whether I need to read my traces, and not the other way around. Just having the option to flip the order would be much appreciated!

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.