2 * FUSE: Filesystem in Userspace
3 * Copyright (C) 2019 Red Hat, Inc.
7 * This program can be distributed under the terms of the GNU LGPLv2.
8 * See the file COPYING.LIB
11 #include "qemu/osdep.h"
16 static void default_log_func(__attribute__((unused)) enum fuse_log_level level,
17 const char *fmt, va_list ap)
19 vfprintf(stderr, fmt, ap);
22 static fuse_log_func_t log_func = default_log_func;
24 void fuse_set_log_func(fuse_log_func_t func)
27 func = default_log_func;
33 void fuse_log(enum fuse_log_level level, const char *fmt, ...)
38 log_func(level, fmt, ap);