#pragma once
#include <unistd.h>
#include <sys/syscall.h>
#define LOG(level, format, ...) \
printf("%c|%d|%s|%s:%d|" format "\n", level, syscall(__NR_gettid), __FUNCTION__, __FILE__, __LINE__,\
## __VA_ARGS__);
#pragma once
#include <unistd.h>
#include <sys/syscall.h>
#define LOG(level, format, ...) \
printf("%c|%d|%s|%s:%d|" format "\n", level, syscall(__NR_gettid), __FUNCTION__, __FILE__, __LINE__,\
## __VA_ARGS__);