X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=log.h;h=ad9d08bbe6730fcf3750ec30e54d5d2b6265f330;hb=836fcc0fceb233ebcc41ee63b4ea5cae20b678a4;hp=fdf3d7b19aed3d3981b166c32339fbd7bb596f79;hpb=fddc6604f91ebf76d9090741f9d4f5a4d33be0c6;p=fio.git diff --git a/log.h b/log.h index fdf3d7b1..ad9d08bb 100644 --- a/log.h +++ b/log.h @@ -13,4 +13,13 @@ extern int log_local(const char *format, ...); extern int log_valist(const char *str, va_list); extern int log_local_buf(const char *buf, size_t); +enum { + FIO_LOG_DEBUG = 1, + FIO_LOG_INFO = 2, + FIO_LOG_ERR = 3, + FIO_LOG_NR = 4, +}; + +extern const char *log_get_level(int level); + #endif