CC/rxi/log/example_log.c

15 lines
347 B
C
Raw Normal View History

2023-12-31 03:21:59 +03:00
#include <log.h>
int main(int argc, char const *argv[]) {
log_info("LOG VERSION " LOG_VERSION "\n");
log_info("Example INFO message");
log_debug("Example DEBUG message");
log_warn("Example WARNING message");
log_error("Example ERROR message");
log_fatal("Example FATAL message");
log_trace("Example TRACE message");
return 0;
}