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

MSBuild TerminalLogger keeps users informed about their build and delights new users #8370

Open
22 of 28 tasks
Tracked by #5465
baronfel opened this issue Jan 30, 2023 · 6 comments · Fixed by #8619
Open
22 of 28 tasks
Tracked by #5465
Assignees
Labels
Area: Logging Area: Terminal Logger Problems with the livelogger/fancylogger/terminallogger -tl functionality. Epic Groups multiple user stories. Can be grouped under a theme. triaged
Milestone

Comments

@baronfel
Copy link
Member

baronfel commented Jan 30, 2023

The LiveLogger is an exciting new feature that MSBuild team has planned for .NET 8. Originally spearheaded by @edvilme, the LiveLogger is intended to be a live-updating, data-heavy view of what is happening in your build right now, using features present in modern terminals to help declutter and organize build results. The goal for this logger is to become the new default experience for all interactive build sessions started by the .NET CLI!

This issue will serve as a centralized way to check on the status of the LiveLogger feature.

Release plan

We are aiming for an initial 'give it a try', opt-in release by the 8.0.100-preview4 time frame. After that, we'll iterate on the logger to meet our goals for user experience and react to user feedback until we're satisfied with the performance and functionality. At that point, we'll enable the live logger by default in the .NET CLI and the feature will be officially released.

Items to tackle for final release

Before we can do that, the following items should be addressed:

@baronfel baronfel added Epic Groups multiple user stories. Can be grouped under a theme. needs-triage Have yet to determine what bucket this goes in. labels Jan 30, 2023
@baronfel baronfel added this to the .NET 8.0 milestone Jan 30, 2023
@baronfel baronfel added Area: Logging and removed needs-triage Have yet to determine what bucket this goes in. labels Jan 30, 2023
@edvilme
Copy link
Contributor

edvilme commented Jan 30, 2023

Thank you for the shoutout and including me! 😀

@edvilme
Copy link
Contributor

edvilme commented Jan 30, 2023

Regarding the second to last point... before I left I was considering sorting the projects such that the finished ones appear at the top, and that the buffer should scroll to the last added line. However I am unsure if this would hurt performance, and if it would mean a lot of jumping

@baronfel
Copy link
Member Author

Sure thing @edvilme - I'm going to make separate issues for tracking the line items here, so we can go into details on those 👍

@edvilme
Copy link
Contributor

edvilme commented Feb 8, 2023

Consider adding a message to the console logger output advertising LiveLogger during the preview timeframe

Does that mean showing something like "Using Console Logger. Try the new LiveLogger using the switch -livelogger"?

LiveLogger should respond to user themes

Does that mean like dark/light theme?

@donJoseLuis donJoseLuis added the Area: Terminal Logger Problems with the livelogger/fancylogger/terminallogger -tl functionality. label Feb 9, 2023
@baronfel baronfel self-assigned this Mar 14, 2023
@baronfel baronfel changed the title LiveLogger Road to Release MSBuild LiveLogger keeps users informed aobut thier builds and delights new users Mar 17, 2023
@baronfel baronfel changed the title MSBuild LiveLogger keeps users informed aobut thier builds and delights new users MSBuild LiveLogger keeps users informed about their build and delights new users Mar 17, 2023
@ladipro ladipro mentioned this issue Mar 31, 2023
@baronfel baronfel reopened this Apr 12, 2023
@JanKrivanek JanKrivanek changed the title MSBuild LiveLogger keeps users informed about their build and delights new users MSBuild TerminalLogger keeps users informed about their build and delights new users Jul 11, 2023
@Zastai
Copy link
Contributor

Zastai commented Dec 31, 2023

Is there a link to documentation on corresponding features in MSBuild tasks, if there are any?

In particular, the "build complete, here is the resulting assembly" message is now retained with the assembly path turned into a hyperlink (or the publish directory for a publish).

Is there a way for build targets that generate other artifacts (in my case, a markdown file with the compiled assembly's public API) to have a similar result, including the hyperlink for the output file? Or is this currently the logger doing "hardcoded" detection of certain messages?

@rainersigwald
Copy link
Member

Is there a way for build targets that generate other artifacts (in my case, a markdown file with the compiled assembly's public API) to have a similar result, including the hyperlink for the output file? Or is this currently the logger doing "hardcoded" detection of certain messages?

Currently it's hardcoded, yes. I have a design in my head to fix this, which I've been meaning to write down but hadn't got around to. Thanks for the reason to do so! #9608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Logging Area: Terminal Logger Problems with the livelogger/fancylogger/terminallogger -tl functionality. Epic Groups multiple user stories. Can be grouped under a theme. triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants