swingmusic
swingmusic copied to clipboard
Debug mode to logging
What kind of change does this PR introduce? (check at least one)
- [x] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:
The PR fulfills these requirements:
- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g.
fix #xxx[,#xxx], where "xxx" is the issue number)
If adding a new feature, the PR's description includes:
- [ ] A convincing reason for adding this feature (it's best to open a suggestion issue first and wait for approval before working on it)
Other information: Add debug mode to logging.
If swingmusic is launched in debug mode (--debug) stack traces are print directly on terminal.
On all other instances stack traces are not printed on terminal