Skip to content

Conversation

@michalbrabec
Copy link

Fixes #

Context

Binlog file is produced if the option /bl:file.binlog is used when calling MSBuild.

Changes Made

Console.writeline(...) addod to the BinarryLogger.cs` to output location and name of the produced binlog file.

Testing

Tested manually locally

Notes

Not sure if Console.Writeline is the right approach to print the information, plus the message should be localized. This is draft for now.

@michalbrabec michalbrabec linked an issue Oct 14, 2025 that may be closed by this pull request
LogMessage("BinLogFilePath=" + FilePath);
LogMessage("CurrentUICulture=" + System.Globalization.CultureInfo.CurrentUICulture.Name);
Console.WriteLine("BinLogFilePath=" + FilePath);
Console.WriteLine("CurrentUICulture=" + System.Globalization.CultureInfo.CurrentUICulture.Name);
Copy link
Member

Choose a reason for hiding this comment

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

Do people need the culture?

As for the binlog, should this be a human readable string? perhaps "Written {0}" or something

Copy link
Author

Choose a reason for hiding this comment

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

Not sure the culture is needed, I wanted to replicate the message, but I definitely want to make the text localizable and respect the verbosity. This was just a first draft.

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.

Consider adding a message indicating binlog creation.

2 participants