1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/lib/nodes/go/log.cpp

17 lines
233 B
C++

#include <villas/log.hpp>
extern "C" {
#include "log.h"
}
using namespace villas;
void log(char *logger, int level, char *msg);
{
auto logger = logging.get(logger);
spdlog::log(level, "{}", msg);
free(logger);
free(msg);
}