Skip to content

Conversation

@SnipUndercover
Copy link
Member

Formatted values inside of interpolated strings will not have their format applied, as the LogInterpolatedStringHandler class (and its generic variant) did not pass the format argument in AppendFormatted<T> overloads that included it. This meant that the format would not be applied.

Logger.Debug("MyMod", $"{255:X4}"); // will output "255" instead of "00FF"

Tested with @2cm - they compiled Everest with this patch and it seemed to work.

Copy link
Member

@microlith57 microlith57 left a comment

Choose a reason for hiding this comment

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

yep

@SnipUndercover
Copy link
Member Author

Since this is a bug that has already gotten into stable, I think this warrants skipping the last-call period and merging directly to dev. Discussed in #modding_dev.

@SnipUndercover SnipUndercover merged commit 4457ec7 into EverestAPI:dev Nov 23, 2025
2 of 3 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.

3 participants