Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
config.cpp File Reference
#include "eunomia/config.h"
#include <spdlog/spdlog.h>
#include <json.hpp>
#include "toml.hpp"
Include dependency graph for config.cpp:

Macros

#define get_from_json_at(name)
 

Macro Definition Documentation

◆ get_from_json_at

#define get_from_json_at (   name)
Value:
try \
{ \
j.at(#name).get_to(data.name); \
} \
catch (...) \
{ \
spdlog::warn("{} use default value", #name); \
}
warn
#define warn(...)
Definition: syscall_helpers.c:12