Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: render logs #223

Merged
merged 1 commit into from
Aug 4, 2023
Merged

feat: render logs #223

merged 1 commit into from
Aug 4, 2023

Conversation

therustmonk
Copy link
Contributor

@therustmonk therustmonk commented Aug 1, 2023

Description

The PR introduces log rendering capabilities to the CLI interface.

Motivation and Context

Mirroring a feature already present in the Web UI prototype.

How Has This Been Tested?

Manually, CI

#[derive(Debug, Clone, AsRefStr, Serialize_repr, Deserialize_repr)]
#[repr(u16)]
pub enum LogLevel {
Trace = 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

did you mean to use a binary bitmap here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I only wanted to use numbers instead of strings, and using separate digits had no particular purpose. However, I like the idea of using a bitmap here. I'll update it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant to say bit mask, but I think you got it :)

@CjS77 CjS77 merged commit 04a95bf into tari-project:main Aug 4, 2023
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants