2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2019 EfficiOS, Inc.
7 #ifndef _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
8 #define _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
10 #include <babeltrace2/babeltrace.h>
11 #include <common/common.h>
12 #include <common/macros.h>
15 gchar
*format_bt_error_cause(
16 const bt_error_cause
*error_cause
,
18 bt_logging_level log_level
,
19 enum bt_common_color_when use_colors
);
21 gchar
*format_bt_error(
22 const bt_error
*error
,
24 bt_logging_level log_level
,
25 enum bt_common_color_when use_colors
);
27 #endif /* _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H */