15 lines
347 B
C
15 lines
347 B
C
|
#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;
|
||
|
}
|