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

Improved Initial Log Message #1018

Merged

Conversation

Windchild292
Copy link
Member

This is the MML implementation for MegaMek/megamek#3412

Copy link
Member

@SJuliez SJuliez left a comment

Choose a reason for hiding this comment

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

Seeing the project_name constant I was wondering if there is a way to have static access to which program is the main program running right now (so MML in MHQ could still know that this is MHQ running and would know if it's standalone MML). Is there a direct way to this or can we implement a SuiteConstants "constant" that is set to MM/MML/MHQ in the respective main()?

@Windchild292
Copy link
Member Author

That's my next goal for the suite changes, namely as part of standardizing the about dialogs. I wanted to handle the logging improvements to make debugging logs easier faster, but that's the goal for the whole design.

@Windchild292 Windchild292 merged commit 67aba9c into MegaMek:master Jan 29, 2022
@Windchild292 Windchild292 deleted the dev_Windchild_ImprovedInitialLog branch January 29, 2022 15:17
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

2 participants