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

util: Use build target name as log file name #232

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

jp7677
Copy link
Owner

@jp7677 jp7677 commented Nov 29, 2024

So write to nvapi.log, nvapi64.log and nvofapi64.log separately.

@jp7677 jp7677 requested a review from Saancreed November 29, 2024 07:21
So write to nvapi.log, nvapi64.log and nvofapi64.log separately.
@@ -81,8 +81,7 @@ namespace dxvk::log {
std::setfill('0'), std::setw(3), milliseconds, ":",
std::setfill('0'), std::setw(4), std::hex, ::GetCurrentProcessId(), ":",
std::setfill('0'), std::setw(4), std::hex, ::GetCurrentThreadId(), ":",
level, ":",
DXVK_NVAPI_TARGET_NAME, ":",
level, ":" DXVK_NVAPI_TARGET_NAME ":",
Copy link
Owner Author

@jp7677 jp7677 Nov 29, 2024

Choose a reason for hiding this comment

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

I had needed some time to get used to the idea ;)

Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

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

I kind of liked having a single timeline but that should still be the case in Wine log so 👌

@jp7677
Copy link
Owner Author

jp7677 commented Nov 29, 2024

I kind of liked having a single timeline but that should still be the case in Wine log so 👌

Thanks ;). I haven't mentioned, but this is also to avoid any potentially weird things with writing to the same file from different dll's.

@jp7677 jp7677 merged commit 70b5ce4 into master Nov 29, 2024
4 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.

2 participants