Skip to content

Commit

Permalink
Add iOS bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jgandres committed Sep 4, 2024
1 parent 392b177 commit 63543b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings/Objective-C/MEGAChatSdk.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,10 @@ + (void)setLogLevel:(MEGAChatLogLevel)level {
MegaChatApi::setLogLevel((int)level);
}

+ (void)setInternalMaxLogLevel:(MEGAChatLogLevel)level {
MegaChatApi::setInternalMaxLogLevel((int)level);
}

+ (void)setLogToConsole:(BOOL)enable {
MegaChatApi::setLogToConsole(enable);
}
Expand Down
1 change: 1 addition & 0 deletions bindings/Objective-C/include/MEGAChatSdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ NS_ASSUME_NONNULL_BEGIN
#pragma mark - Debug log messages

+ (void)setLogLevel:(MEGAChatLogLevel)level;
+ (void)setInternalMaxLogLevel:(MEGAChatLogLevel)level;
+ (void)setLogToConsole:(BOOL)enable;
+ (void)setLogObject:(nullable id<MEGAChatLoggerDelegate>)delegate;
+ (void)setLogWithColors:(BOOL)userColors;
Expand Down

0 comments on commit 63543b0

Please sign in to comment.