summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-07-09 18:19:32 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-07-09 18:19:32 +0000
commitd03d97a163cf163aac4b17665a72e1d935d39c9a (patch)
tree927d7ced339b35d2822155097425404eccd23af6 /src/htslib.c
parentf154d0e78c715fdc48f3bfcafdfbae69feeec1bb (diff)
LOG_TRACE
Diffstat (limited to 'src/htslib.c')
-rw-r--r--src/htslib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/htslib.c b/src/htslib.c
index 64c15b3..629f6c0 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -5262,6 +5262,13 @@ HTSEXT_API void hts_log_print(httrackp * opt, int type, const char *format, ...)
const char *s_type = "unknown";
switch (type & 0xff) {
+ case LOG_TRACE:
+ // check verbosity
+ if (opt->debug < 3) {
+ return;
+ }
+ s_type = "trace";
+ break;
case LOG_DEBUG:
// check verbosity
if (opt->debug < 2) {