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

HLE auto log flag: Will let us entirely omit logging code from most syscalls, while still getting good logging. #19933

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hrydgard
Copy link
Owner

Unfortunately, we do lose the file/line information if we do this.

On the other hand, in every message like this, the HLE function name will be there, so maybe not a big deal as you can easily search for it...

Advantages are that HLE functions become smaller and cleaner, plus it's easier to change how all HLE function logging behave as the logging becomes centralized.

Not all functions will be able to make use of this, like if you want to add extra information to the logging messages beyond the parameters and return value.

So, I'm not sure how good an idea this is...

…yscalls, while still getting good logging.

Unfortunately, we do lose the file/line information if we do this. On
the other hand, in every message like this, the HLE function name will
be there, so maybe not a big deal.
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.

1 participant