using System;
using System.Collections.Generic;
///
/// unity调试输出适配
///
public class UnityDebug : IDebug
{
///
/// 调试信息输出
///
/// 输出信息
public void Debug(string ctx)
{
LogHelper.Log(ctx);
}
///
/// 警告信息输出
///
/// 输出信息
public void Warning(string ctx)
{
LogHelper.LogWarning(ctx);
}
///
/// 错误信息输出
///
/// 输出信息
public void Error(string ctx)
{
LogHelper.LogError(ctx);
}
///
/// 致命信息输出
///
/// 输出信息
public void Fatal(string ctx)
{
LogHelper.LogError(ctx);
}
}