DioxusLabs / DioxusLabs/dioxus
"%c" in web logging
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Logging in development mode for web includes "%c", presumably instead of the ANSI coloring codes.
```
16:22:36 [server] INFO Foo Bar
16:22:47 [web] %cINFO%c web/src/lib.rs:103%c Bar Foo
```
I can see this is not a new issue:
**Steps To Reproduce**
Use tracing with standard templates.
**Expected behavior**
```
16:22:36 [server] INFO Foo Bar
16:22:47 [web] INFO web/src/lib.rs:103 Bar Foo
```
Coloring would be nice to have.
**Screenshots**
**Environment:**
- Dioxus version: v0.6.3
- Rust version: 1.88.0 stable
- OS info: Linux 6.1.146
- App platform: Web
**Questionnaire**
I'm interested in fixing this myself but don't know where to start.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.