26 * POSSIBILITY OF SUCH DAMAGE. |
26 * POSSIBILITY OF SUCH DAMAGE. |
27 */ |
27 */ |
28 |
28 |
29 #include "logging_tests.h" |
29 #include "logging_tests.h" |
30 |
30 |
31 UCX_TEST_IMPLEMENT(test_ucx_logger_log) { |
31 UCX_TEST(test_ucx_logger_log) { |
32 char buffer[100]; |
32 char buffer[100]; |
33 FILE *stream = tmpfile(); |
33 FILE *stream = tmpfile(); |
34 |
34 |
35 UcxLogger *logger = ucx_logger_new(stream, |
35 UcxLogger *logger = ucx_logger_new(stream, |
36 UCX_LOGGER_INFO, UCX_LOGGER_SOURCE | UCX_LOGGER_LEVEL); |
36 UCX_LOGGER_INFO, UCX_LOGGER_SOURCE | UCX_LOGGER_LEVEL); |