blob: fdf3d7b19aed3d3981b166c32339fbd7bb596f79 [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 Axboe13755d92011-10-10 19:51:26 +020014extern int log_local_buf(const char *buf, size_t);
Jens Axboea3d741f2008-02-27 18:32:33 +010015
Jens Axboea3d741f2008-02-27 18:32:33 +010016#endif