2024-05-02 08:50:24 +00:00
|
|
|
//
|
|
|
|
// Created by servostar on 5/2/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "sys/log.h"
|
2024-05-30 19:43:14 +00:00
|
|
|
#include <sys/col.h>
|
2024-06-02 22:24:17 +00:00
|
|
|
#include <cfg/opt.h>
|
2024-06-05 18:00:14 +00:00
|
|
|
#include <mem/cache.h>
|
2024-05-02 08:50:24 +00:00
|
|
|
|
|
|
|
#define LOG_LEVEL LOG_LEVEL_WARNING
|
|
|
|
|
2024-06-02 22:24:17 +00:00
|
|
|
int main(int argc, char* argv[]) {
|
2024-06-05 18:00:14 +00:00
|
|
|
mem_init();
|
2024-06-02 22:24:17 +00:00
|
|
|
parse_options(argc, argv);
|
2024-05-02 08:50:24 +00:00
|
|
|
log_init();
|
2024-06-02 22:24:17 +00:00
|
|
|
set_log_level(LOG_LEVEL_DEBUG);
|
2024-05-30 19:43:14 +00:00
|
|
|
col_init();
|
2024-05-02 08:50:24 +00:00
|
|
|
|
|
|
|
DEBUG("logging some debug...");
|
|
|
|
INFO("logging some info...");
|
|
|
|
WARN("logging some warning...");
|
|
|
|
ERROR("logging some error...");
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|