60 std::function<
void(
const std::string& component,
61 const std::string& msg,
63 std::vector<Logger::LogComponent>&& components,
64 bool force_stderr_log =
false);
Definition mc_logging.h:33
static MILLICAST_API void log_version()
Log the version of the millicast SDK.
static MILLICAST_API void set_log_levels(LogLevel sdk, LogLevel webrtc=LogLevel::MC_OFF, LogLevel websocket=LogLevel::MC_OFF)
Set log levels for the core SDK, webrtc and websocket.
static MILLICAST_API void set_logger(std::function< void(const std::string &component, const std::string &msg, LogLevel)> f, std::vector< Logger::LogComponent > &&components, bool force_stderr_log=false)
Set the object that will receive the logs from the SDK.
static MILLICAST_API std::string get_version()
Get the version of the SDK as a std string.
LogComponent
The LogComponent enum describes which components are possible to receive logs from in the log callbac...
Definition mc_logging.h:39
static MILLICAST_API std::string get_webrtc_version()
static MILLICAST_API void log(const std::string &msg, LogLevel lvl)
Send a log to the callback logger.
#define MILLICAST_API
Definition exports.h:51
Definition capabilities.h:15
LogLevel
The LogLevel enum specify the severity of a log message.
Definition mc_logging.h:23