summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
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) {