gemstone/tests/logging/level.c

21 lines
332 B
C
Raw Normal View History

//
// Created by servostar on 5/2/24.
//
#include "sys/log.h"
2024-05-30 19:43:14 +00:00
#include <sys/col.h>
#define LOG_LEVEL LOG_LEVEL_WARNING
int main(void) {
log_init();
2024-05-30 19:43:14 +00:00
col_init();
DEBUG("logging some debug...");
INFO("logging some info...");
WARN("logging some warning...");
ERROR("logging some error...");
return 0;
}