diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 12:01:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 12:01:04 +0200 |
commit | a880d01c59c6962f06b969552a524792239e9300 (patch) | |
tree | 802901c84462df5e1cc5b37eca4899ab31cb339a /bpkg/diagnostics | |
parent | 3637cbc90ae6c6f36f2ba229663f04a371a1faee (diff) |
Align verbosity levels with build2
This makes it simpler to map from one to the other.
Diffstat (limited to 'bpkg/diagnostics')
-rw-r--r-- | bpkg/diagnostics | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bpkg/diagnostics b/bpkg/diagnostics index 2d7825a..f403d9f 100644 --- a/bpkg/diagnostics +++ b/bpkg/diagnostics @@ -56,10 +56,11 @@ namespace bpkg // // 0 - disabled // 1 - high-level information messages - // 2 - underlying commands being executed - // 3 - information that could be helpful to the user - // 4 - information that could be helpful to the developer - // 5 - even more detailed information + // 2 - essential underlying commands that are being executed + // 3 - all underlying commands that are being executed + // 4 - information that could be helpful to the user + // 5 - information that could be helpful to the developer + // 6 - even more detailed information // // While uint8 is more than enough, use uint16 for the ease of printing. // @@ -70,6 +71,7 @@ namespace bpkg template <typename F> inline void level3 (const F& f) {if (verb >= 3) f ();} template <typename F> inline void level4 (const F& f) {if (verb >= 4) f ();} template <typename F> inline void level5 (const F& f) {if (verb >= 5) f ();} + template <typename F> inline void level6 (const F& f) {if (verb >= 6) f ();} // Diagnostic facility, base infrastructure (potentially reusable). // |