/// <summary> /// Add a MegaLogger implementation to receive logs /// </summary> /// <param name="megaLogger">MegaLogger implementation</param> public static void AddLoggerObject(MLoggerInterface megaLogger) { SdkService.MegaSdk.addLoggerObject(megaLogger); }
/// <summary> /// Remove a MegaLogger implementation to stop receiving SDK logs /// </summary> /// <param name="megaLogger">MegaLogger implementation</param> public static void RemoveLoggerObject(MLoggerInterface megaLogger) { SdkService.MegaSdk.removeLoggerObject(megaLogger); }
/// <summary> /// Set a MegaLogger implementation to receive logs /// </summary> /// <param name="megaLogger">MegaLogger implementation</param> public static void SetLoggerObject(MLoggerInterface megaLogger) { MegaSDK.setLoggerObject(megaLogger); }