Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }
Esempio n. 3
0
 /// <summary>
 /// Set a MegaLogger implementation to receive logs
 /// </summary>
 /// <param name="megaLogger">MegaLogger implementation</param>
 public static void SetLoggerObject(MLoggerInterface megaLogger)
 {
     MegaSDK.setLoggerObject(megaLogger);
 }