public static void SetLogLevel(ABLogLevel level) { if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) { #if UNITY_ANDROID adBuddizPlugin.Call ("setLogLevel", level.ToString()); #endif #if UNITY_IOS _AdBuddiz_setLogLevel (level.ToString()); #endif } }
public static void SetLogLevel(ABLogLevel level) { if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) { #if UNITY_ANDROID adBuddizPlugin.Call("setLogLevel", level.ToString()); #endif #if UNITY_IOS _setLogLevel(level.ToString()); #endif } }
public void SetLogLevel(ABLogLevel level) { Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Silent; switch (level) { case ABLogLevel.ABLogLevelError: logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Error; break; case ABLogLevel.ABLogLevelInfo: logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Info; break; } Com.Purplebrain.Adbuddiz.Sdk.AdBuddiz.SetLogLevel(logLevel); }
public void SetLogLevel(ABLogLevel level) { AdBuddiz.Xamarin.Internal.AdBuddiz.SetLogLevel((int)level); }
public void SetLogLevel(ABLogLevel level) { Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Silent; switch(level) { case ABLogLevel.ABLogLevelError: logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Error; break; case ABLogLevel.ABLogLevelInfo: logLevel = Com.Purplebrain.Adbuddiz.Sdk.AdBuddizLogLevel.Info; break; } Com.Purplebrain.Adbuddiz.Sdk.AdBuddiz.SetLogLevel(logLevel); }