lib_unity_purchase/Runtime/Purchasing/Utilites/ILoggerExtensions.cs

18 lines
425 B
C#
Raw Normal View History

2024-01-29 18:49:33 +08:00
namespace UnityEngine.Purchasing
{
static class LoggerExtensions
{
const string IAPLogTag = "Unity IAP";
public static void LogIAPWarning(this ILogger logger, string message)
{
logger.LogWarning(IAPLogTag, message);
}
public static void LogIAPError(this ILogger logger, string message)
{
logger.LogError(IAPLogTag, message);
}
}
}