chicken_dy/Assets/TKGSDK/Common/internal/TKGDebugger.cs

41 lines
858 B
C#
Raw Normal View History

2022-08-02 05:18:13 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Touka
{
public class TKGDebugger
{
public static void LogDebug(string content)
{
if (StaticOtherConfig.IsDebugLog)
{
Debug.Log(content);
}
}
public static void LogWarning(string content)
{
if (StaticOtherConfig.IsDebugLog)
{
Debug.LogWarning(content);
}
}
public static void LogError(string content)
{
//if (StaticOtherConfig.IsDebugLog)
{
Debug.LogError("[Error] " + content);
}
}
public static void SetUnityLogger(bool _logEnable)
{
Debug.unityLogger.logEnabled = _logEnable;
}
}
}