Add new net command for text logging
[fio.git] / log.h
... / ...
CommitLineData
1#ifndef FIO_LOG_H
2#define FIO_LOG_H
3
4#include <stdio.h>
5#include <stdarg.h>
6
7extern FILE *f_out;
8extern FILE *f_err;
9
10extern int log_err(const char *format, ...);
11extern int log_info(const char *format, ...);
12extern int log_local(const char *format, ...);
13extern int log_valist(const char *str, va_list);
14extern int log_local_buf(const char *buf, size_t);
15
16enum {
17 FIO_LOG_DEBUG = 1,
18 FIO_LOG_INFO = 2,
19 FIO_LOG_ERR = 3,
20};
21
22#endif