-
Couldn't load subscription status.
- Fork 61
Add developer logs using log-base library #2537
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
base: main
Are you sure you want to change the base?
Conversation
| when ticked hypotheticalWinCheck' | ||
| return ticked | ||
| Effect.localData ["tick" Effect..= time] $ do | ||
| Effect.logTrace_ "Running tick" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds like a good start.
| { startPaused = pausedAtStart | ||
| , pauseOnObjectiveCompletion = autoShowObjectives | ||
| , loadTestScenarios = Set.member LoadTestingScenarios debugOptions | ||
| , startLogging = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does startLogging ever get set to False? Will the game just be always writing out a log to disk by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I should add a command line option or maybe finally add a config file.
No description provided.