test/logging_tests.c

changeset 134
4d320dc3a7af
parent 105
f08fa6308d1f
child 170
5fbb9efebe4a
equal deleted inserted replaced
133:0a70e0d36949 134:4d320dc3a7af
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);

mercurial