LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
LLMClient.cpp File Reference
#include "LLMClient.hpp"
#include "PluginLoggerC.h"
#include <fmt/format.h>
#include <curl/curl.h>
Include dependency graph for LLMClient.cpp:

Namespaces

namespace  ai
 
namespace  ai::anonymous_namespace{LLMClient.cpp}
 

Macros

#define PLUGIN_LOG(level, ...)   do { std::string _pl_msg = fmt::format(__VA_ARGS__); PluginLogger_Log(level, _pl_msg.c_str()); } while(0)
 

Functions

size_t ai::anonymous_namespace{LLMClient.cpp}::WriteCallback (void *contents, size_t size, size_t nmemb, std::string *userp)
 

Macro Definition Documentation

◆ PLUGIN_LOG

#define PLUGIN_LOG (   level,
  ... 
)    do { std::string _pl_msg = fmt::format(__VA_ARGS__); PluginLogger_Log(level, _pl_msg.c_str()); } while(0)