Repository navigation
Live logging - #28
Closed
NHTangles wants to merge 12 commits into
Closed
Live logging#28NHTangles wants to merge 12 commits into
NHTangles wants to merge 12 commits into
Conversation
Added a sysconf option to enable live logging of various in-game events The value of this option is a bit-field that can be modified to control which events are logged. Also, added the actual logging functions, obviously. TODO: Make the wording of the log messages less lame.
Enable by setting desired value in sysconf, and uncommenting LIVELOG_ENABLE in config.h
Also removed redundant LIVELOG_ENABLE macro. Feature is now enabled by defining LIVELOGFILE (as is done with XLOG, NEWS, etc) Fixed typo in comment in config.h - thanks paxed.
Added a sysconf option LLC_TURNS to stop spammy livelogging of breaking conducts in the early game. Fixed #if DUMPLOG (cherry picked from commit c5fc5f8)
Z (cherry picked from commit 6b0cb46)
(cherry picked from commit 44c55b5)
THis line was accidentally deleted in a botched merge earlier
…Hack into NetHack-3.6.0
…to NetHack-3.6.0
Contributor
Author
|
Closing this one to reopen on a feature branch with some improvements. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Live logging patch as discussed on #nethack-dev over the last few days.
1a. Changed the livelog separator from ':' to '\t' for consistency with xlogfile.
Please consider :)