feat: better log output for wine #2

Open
navi10 wants to merge 1 commit from navi10/locomotive:wine_log into master
First-time contributor
No description provided.
src/root.zig Outdated
@ -1,4 +1,4 @@
const log = std.log.scoped(.locomotive);
const log = debug.scoped(.locomotive);
Owner

Instead of swapping entire std.log functionality, consider overriding the implementation through std.Options - it has a logFn field.

Instead of swapping entire std.log functionality, consider overriding the implementation through std.Options - it has a logFn field.
Author
First-time contributor

I tried logFn field but idk why it didn't work

I tried logFn field but idk why it didn't work
Owner
Consider the following example: https://git.xeondev.com/LR/C/src/branch/master/src/root.zig#L22-L24
Author
First-time contributor

ok

ok
Author
First-time contributor

I didn't notice that 'std_optioins' wasn't declared as pub
updated now

I didn't notice that 'std_optioins' wasn't declared as pub updated now
src/root.zig Outdated
@ -58,3 +42,1 @@
\\ %..@.....:@@:@:::-----@@.@..-@@@@.:@@@.@@@@@:#@..::::::+--*
\\ @-.::=....@+:::%::::::::@...@@.@%%.@. --@@..@:@.@...::::@---@
\\@:::::=..+%:::::@.....::@..........@:: .---=@.@#...@....:::@--=@
debug.write(
Owner

Hmm, not sure why would you want the ASCII art go to winedbg as well?

Hmm, not sure why would you want the ASCII art go to winedbg as well?
Author
First-time contributor

hmm, you're right haha

hmm, you're right haha
navi10 changed title from feat: better log output for wine to WIP: feat: better log output for wine 2026-03-23 16:20:39 +00:00
navi10 changed title from WIP: feat: better log output for wine to feat: better log output for wine 2026-03-24 06:02:15 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u wine_log:navi10-wine_log
git switch navi10-wine_log

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff navi10-wine_log
git switch navi10-wine_log
git rebase master
git switch master
git merge --ff-only navi10-wine_log
git switch navi10-wine_log
git rebase master
git switch master
git merge --no-ff navi10-wine_log
git switch master
git merge --squash navi10-wine_log
git switch master
git merge --ff-only navi10-wine_log
git switch master
git merge navi10-wine_log
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eileen-sr/locomotive!2
No description provided.