Jens Axboe | a3d741f | 2008-02-27 18:32:33 +0100 | [diff] [blame] | 1 | #ifndef FIO_LOG_H |
2 | #define FIO_LOG_H | ||||
3 | |||||
Jens Axboe | bf84eac | 2010-03-19 16:41:52 +0100 | [diff] [blame] | 4 | #include <stdio.h> |
Jens Axboe | ecd6cc1 | 2011-10-04 13:54:12 +0200 | [diff] [blame] | 5 | #include <stdarg.h> |
Jens Axboe | bf84eac | 2010-03-19 16:41:52 +0100 | [diff] [blame] | 6 | |
Jens Axboe | a3d741f | 2008-02-27 18:32:33 +0100 | [diff] [blame] | 7 | extern FILE *f_out; |
8 | extern FILE *f_err; | ||||
9 | |||||
Jens Axboe | 142575e | 2011-09-30 17:35:45 -0600 | [diff] [blame] | 10 | extern int log_err(const char *format, ...); |
11 | extern int log_info(const char *format, ...); | ||||
Jens Axboe | 46c48f1 | 2011-10-01 12:50:51 -0600 | [diff] [blame] | 12 | extern int log_local(const char *format, ...); |
Jens Axboe | e46d809 | 2011-10-03 09:11:02 +0200 | [diff] [blame] | 13 | extern int log_valist(const char *str, va_list); |
Jens Axboe | a3d741f | 2008-02-27 18:32:33 +0100 | [diff] [blame] | 14 | |
Jens Axboe | a3d741f | 2008-02-27 18:32:33 +0100 | [diff] [blame] | 15 | #endif |