MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Class Methods | List of all members
MCLogger Class Reference

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

#import <mc_logging.h>

Inheritance diagram for MCLogger:
Inheritance graph
[legend]
Collaboration diagram for MCLogger:
Collaboration graph
[legend]

Class Methods

(void) + setDelegate:
 
(void) + setLogLevelWithSdk:Webrtc:Websocket:
 
(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: