Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add "strict" logging option, to treat e.g. wml warnings as errors
When the game is run using e.g. "--log-strict=warning", then writing anything to a log channel of severity warning or higher will result in a game::game_error exception being thrown. This will only happen the first time that such a write is attempted, subsequent attempts to get the logging object will pass without exception and such messages will be reported.
- Loading branch information
Showing
4 changed files
with
50 additions
and
2 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
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