diff options
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h new file mode 100644 index 00000000..ebb7dd60 --- /dev/null +++ b/src/log.h @@ -0,0 +1,21 @@ +// Copyright 2011-2023 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef SERD_SRC_LOG_H +#define SERD_SRC_LOG_H + +#include "serd/log.h" +#include "serd/status.h" + +#include <stdbool.h> + +typedef struct { + SerdLogFunc func; + void* handle; + bool stderr_color; +} SerdLog; + +SerdStatus +serd_log_init(SerdLog* log); + +#endif // SERD_SRC_LOG_H |