cmd: add sc_is_debug_enabled #2811

Merged
merged 1 commit into from Feb 8, 2017

Conversation

Projects
None yet
2 participants
Contributor

zyga commented Feb 8, 2017

This patch exposes a way to check if debugging should be enabled in
snap-confine and friends. I plan to use it to avoid computing some
diagnostic messages unless they are really needed.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

cmd: add sc_is_debug_enabled
This patch exposes a way to check if debugging should be enabled in
snap-confine and friends. I plan to use it to avoid computing some
diagnostic messages unless they are really needed.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

@zyga zyga merged commit 48df5a1 into snapcore:master Feb 8, 2017

3 of 6 checks passed

xenial-ppc64el autopkgtest finished (failure)
Details
xenial-i386 autopkgtest running
Details
yakkety-amd64 autopkgtest running
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
xenial-amd64 autopkgtest finished (success)
Details
zesty-amd64 autopkgtest finished (success)
Details

@zyga zyga deleted the zyga:is-debug-enabled branch Feb 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment