/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (c) 2016 wonder-mice
+ *
* This is zf_log.c, modified with Babeltrace prefixes.
* See <https://github.com/wonder-mice/zf_log/>.
- * See LICENSE.
*/
#include "common/macros.h"
#endif
}
-static void put_msg(bt_log_message *const msg,
+static _BT_LOG_PRINTFLIKE(2, 0)
+void put_msg(bt_log_message *const msg,
const char *const fmt, va_list va)
{
int n;
_bt_log_global_output.callback = callback;
}
-static void _bt_log_write_imp(
+static _BT_LOG_PRINTFLIKE(6, 0)
+void _bt_log_write_imp(
const bt_log_spec *log,
const src_location *const src, const mem_block *const mem,
const int lvl, const char *const tag, const char *const fmt, va_list va)