#include <liblogger/liblogger_levels.h> // For this file, we choose logs of priority info and above. #define LOG_LEVEL LOG_LEVEL_INFO // The module name for logs done from this file. #define LOG_MODULE_NAME "HTTP Module" #include <liblogger/liblogger.h>
Then include this header amoung the source files which need to have the same module name and log level.