core: add VICTORY_LOG_FILE support for file logging #32
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/32"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from TaynanGT/Vice-Tay-v2. Originally posted by nullexxx on 2026-11-26T13:39:41Z.
@nullexxx on GitHub · 2026-11-26 13:37 UTC · original
nullexxx:feat/victory-log-file→main· +10 −0 · 1 files · 1 commits · openSummary
Adds an optional
VICTORY_LOG_FILEenvironment variable invictory_core::logging::initthat mirrors tracing output (with ANSI codes disabled) to the specified file path.Under Wine/Proton (e.g., launching from Steam),
victory.exeattaches to its own Wine console window, so shell stdout/stderr redirection does not capturevictory.exe's logs. Behavior is unchanged whenVICTORY_LOG_FILEis unset.Testing
cargo xwin build --target x86_64-pc-windows-msvc --locked --release -p victoryon CachyOS and verified underGE-Proton11-14withVICTORY_LOG_FILE="Z:\home\alex\victory.log".AI-assisted (Gemini) patch; built and verified locally.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.