22#include "livekit/visibility.h"
55using LogCallback = std::function<void(
LogLevel level,
const std::string& logger_name,
const std::string& message)>;
Public API for the LiveKit C++ Client SDK.
Definition audio_frame.h:25
LIVEKIT_API void setLogCallback(LogCallback callback)
Install a custom log callback, replacing the default stderr sink.
LogLevel
Severity levels for SDK log messages.
Definition logging.h:27
LIVEKIT_API void setLogLevel(LogLevel level)
Set the minimum log level for the SDK logger.
std::function< void(LogLevel level, const std::string &logger_name, const std::string &message)> LogCallback
Signature for a user-supplied log callback.
Definition logging.h:55
LIVEKIT_API LogLevel getLogLevel()
Return the current minimum log level.