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
Add --debug mode
#929
Add --debug mode
#929
Conversation
This patch does a few things: * Add `--debug` to enable debugging output on STDOUT, this also sets `--verbose` to `3` automatically. * Remove duplicate bit setting in `set_verbose.c`. * Disable debugging output for the log writer if `--debug` was not specified.
|
@davidducos Circle CI appears to have failed due to a network issue. I don't appear to have access to restart the run. Are you able to do it? |
|
@LinuxJedi It has failed again... :( |
This is the good kind of failure, the one where I neglected to check that an API I used was only 18 months old. |
|
@LinuxJedi, yeah... it happens... I will be adding testings on CircleCI for all OS that we do releases to found this kind of errors. For sure, I will be adding more testings to avoid to release with bugs... |
Disable the `--debug` version for old glib versions. Users will need to use the environment variable `G_MESSAGES_DEBUG=all` instead for older versions of glib.
|
Fixed this by having this option only show up if you are using glib >= 2.72. Before this you'll need to use the environment variable |
|
Thanks @LinuxJedi, I will be merging this after we fix some issues on v0.13.1 series. For sure, this will be merged by January. |
This patch does a few things:
--debugto enable debugging output on STDOUT, this also sets--verboseto3automatically.set_verbose.c.--debugwas not specified.