Files
cworker/clib/logger_test.c
2023-09-05 09:09:55 +02:00

26 lines
386 B
C

/*
* Copyright 2022 Oleg Borodin <borodin@unix7.org>
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <massert.h>
#include <logger.h>
void test01(void) {
log_init();
log_debug("qwerty");
log_debug("qwerty: %s", "12345");
log_debug("qwerty: %d", 12345);
log_destroy();
}
int main(void) {
test01();
return 0;
}