htslib.hts_log

\file htslib/hts_log.h Configuration of log levels.

Members

Enums

htsLogLevel
enum htsLogLevel

Log levels.

Functions

hts_get_log_level
htsLogLevel hts_get_log_level()

Gets the selected log level.

hts_log
void hts_log(htsLogLevel severity, const(char)* context, const(char)* format, ...)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_log_debug
void hts_log_debug(const(char)[] ctx, string msg)

! Logs an event with severity HTS_LOG_DEBUG and default context. Parameters: format, ...

hts_log_error
void hts_log_error(const(char)[] ctx, string msg)

! Logs an event with severity HTS_LOG_ERROR and default context. Parameters: format, ...

hts_log_info
void hts_log_info(const(char)[] ctx, string msg)

! Logs an event with severity HTS_LOG_INFO and default context. Parameters: format, ...

hts_log_trace
void hts_log_trace(const(char)[] ctx, string msg)

! Logs an event with severity HTS_LOG_TRACE and default context. Parameters: format, ...

hts_log_warning
void hts_log_warning(const(char)[] ctx, string msg)

! Logs an event with severity HTS_LOG_WARNING and default context. Parameters: format, ...

hts_set_log_level
void hts_set_log_level(htsLogLevel level)

Sets the selected log level.

Static variables

hts_verbose
int hts_verbose;

Selected log level.

Meta