MillicastSDK 2.2.0
Loading...
Searching...
No Matches
MCLogger Class Reference

Class that is responsible for managing SDK logs. More...

#include <mc_logging.h>

Inheritance diagram for MCLogger:
Collaboration diagram for MCLogger:

Class Methods

(void) + setDelegate:
 Set a delegate that receives log messages.
 
(void) + setLogLevelWithSdk:Webrtc:Websocket:
 Set the LogLevel for the SDK/Webrtc/Websocket modules.
 
(nonnull NSString *) + getVersion
 
(nonnull NSString *) + getWebrtcVersion
 

Detailed Description

Class that is responsible for managing SDK logs.

Method Documentation

◆ getVersion

+ (nonnull NSString *) getVersion

Get the current SDK version

  • Returns: a string representing the SDK version in Major.Minor.Patch format

◆ getWebrtcVersion

+ (nonnull NSString *) getWebrtcVersion

Get the current WebRTC version used.

  • Returns: The WebRTC version.

◆ setDelegate:

+ (void) setDelegate: (id< MCLoggerDelegate > _Nonnull) delegate

Set a delegate that receives log messages.

◆ setLogLevelWithSdk:Webrtc:Websocket:

+ (void) setLogLevelWithSdk: (MCLogLevel) sdkLogLevel
Webrtc: (MCLogLevel) webrtcLogLevel
Websocket: (MCLogLevel) websocketLogLevel 

Set the LogLevel for the SDK/Webrtc/Websocket modules.

  • Parameters:
    • Sdk: MCLogLevel sets the log level for the SDK.
    • Webrtc: MCLogLevel sets the log level for Webrtc.
    • Websocket: MCLogLevel sets the log level for Websocket.

The documentation for this class was generated from the following file: