diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-13 14:31:20 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-13 14:31:20 +0000 |
commit | bb4c595810ccd9b849be2d20f5c16d6076d083bb (patch) | |
tree | a0443629b2d996f0597f75e8bafee3f8fd13505e /src/htsopt.h | |
parent | 84c47b0ce10547fdf223f721ef88f7af09af5401 (diff) |
Introducing the hts_log_print() logging function
* cleaned up logging
Diffstat (limited to 'src/htsopt.h')
-rw-r--r-- | src/htsopt.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/htsopt.h b/src/htsopt.h index 9ad8bf7..dfefed7 100644 --- a/src/htsopt.h +++ b/src/htsopt.h @@ -167,6 +167,19 @@ struct fspc_strc { int info; }; +#ifndef HTS_DEF_DEFSTRUCT_hts_log_type +#define HTS_DEF_DEFSTRUCT_hts_log_type +typedef enum hts_log_type { + LOG_DEBUG, + LOG_INFO, + LOG_NOTICE, + LOG_WARNING, + LOG_ERROR, + LOG_PANIC, + LOG_ERRNO = 1 << 8 +} hts_log_type; +#endif + /* Structure état du miroir */ #ifndef HTS_DEF_FWSTRUCT_htsoptstatecancel #define HTS_DEF_FWSTRUCT_htsoptstatecancel |