Skip to content

docs: Add a per-module log level config example#220

Merged
tisonkun merged 3 commits intofast:mainfrom
wlinna:main
Feb 24, 2026
Merged

docs: Add a per-module log level config example#220
tisonkun merged 3 commits intofast:mainfrom
wlinna:main

Conversation

@wlinna
Copy link
Contributor

@wlinna wlinna commented Feb 24, 2026

This closes #219

I tested that it compiles and runs with...

cargo run --example per_module_log_levels -F starter-log

... but since the only logger here is the example itself, you wouldn't know it actually works just by running the example

@wlinna wlinna changed the title Add a per-module log level config example docs: Add a per-module log level config example Feb 24, 2026
Copy link
Contributor

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @wlinna!

but since the only logger here is the example itself, you wouldn't know it actually works just by running the example

I think it's OK for now to demonstrate the usage. We may improve it later when finding better expression.

Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun enabled auto-merge (squash) February 24, 2026 02:42
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun merged commit c88fac0 into fast:main Feb 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There are no examples of how to set log level per module

2 participants