-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added global debug to file functions to SPIERSview
The standard QT debug, warning, info, and fatal macro are caught by the new function in main.cpp. These are either feed only to the console, or to the console and a file named SPIERSView_Debug.log in the users HOME folder. There is a bool flag on line 36 of the main.ccp file that swtiches this behaviour. Also to get this to work in release mode (for debuging release macOS applications) lines 12-14 in the .pro fiule need to be uncommented. Both this and the writting to log file should be turned off in real releases.
- Loading branch information
1 parent
1ddf1ae
commit fbef3e0
Showing
2 changed files
with
30 additions
and
23 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