Skip to content

Conversation

Emilgardis
Copy link
Member

This PR does some changes to how logging is done and displayed.

More work maybe needed.

Depends on rust-embedded/svd#172

@Emilgardis Emilgardis requested a review from a team as a code owner November 9, 2021 22:09
@rust-highfive
Copy link

r? @reitermarkus

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools labels Nov 9, 2021
@Emilgardis Emilgardis marked this pull request as draft November 9, 2021 22:09
@Emilgardis
Copy link
Member Author

currently looks like this

image

@burrbull
Copy link
Member

What is default log level?

@Emilgardis
Copy link
Member Author

Default log level is set on

.add_directive(tracing::Level::INFO.into()),

@burrbull
Copy link
Member

Any progress on this?

.without_time()
.with_target(false)
.with_env_filter(filter)
.compact()
Copy link
Member Author

Choose a reason for hiding this comment

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

with compact
image

with full
image

I prefer compact, looks cleaner imo

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd want to remove the render:expand:etcetc things, but that would require a custom formatter, simple to do but maybe not neccessary, this shouldn't be used often

@burrbull
Copy link
Member

burrbull commented Dec 7, 2021

@Emilgardis should I make new release or wait for this PR?

@Emilgardis
Copy link
Member Author

Go ahead with a release, this is breaking but can be made to not be :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants