blob: a69846efd7a5721fd8af10592ef73ad5e0c3e7bd [file] [log] [blame]
Jens Axboea3d741f2008-02-27 18:32:33 +01001#ifndef FIO_LOG_H
2#define FIO_LOG_H
3
Jens Axboebf84eac2010-03-19 16:41:52 +01004#include <stdio.h>
Jens Axboeecd6cc12011-10-04 13:54:12 +02005#include <stdarg.h>
Jens Axboebf84eac2010-03-19 16:41:52 +01006
Jens Axboea3d741f2008-02-27 18:32:33 +01007extern FILE *f_out;
8extern FILE *f_err;
9
Jens Axboe142575e2011-09-30 17:35:45 -060010extern int log_err(const char *format, ...);
11extern int log_info(const char *format, ...);
Jens Axboe46c48f12011-10-01 12:50:51 -060012extern int log_local(const char *format, ...);
Jens Axboee46d8092011-10-03 09:11:02 +020013extern int log_valist(const char *str, va_list);
Jens Axboea3d741f2008-02-27 18:32:33 +010014
Jens Axboea3d741f2008-02-27 18:32:33 +010015#endif