forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write byond-tracy output file to tracy.loc in log folder (tgstation#8…
…5632) ## About The Pull Request With Paradise's byond-tracy, as of ParadiseSS13/byond-tracy@93021a7, `init()` will return the output file path on success, instead of just "0". This writes said path to `tracy.loc` in the log directory, making it easy to associate a specific .utracy file with a specific round. This is still backwards compatible with versions of byond-tracy that return "0" on success, including the original version that streams the trace directly - `tracy.loc` will just not be created, however **93021a7 will not initialize properly without this PR, due to not returning "0"** Also made it so you can pass "-params tracy" in order to load tracy when `USE_BYOND_TRACY` isn't defined - said define will just make it _always_ load tracy regardless of params. ## Changelog No user-facing changes
- Loading branch information
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters