public static void LogWarning(object msg, UnityEngine.Object obj) { if (XLogger.IsEnable()) { XLogger.CreateLogger(); string str = m_strInfoWarning.Collection(msg.ToString()); #if XLOGGER_CONSOLELOG m_logger.LogWarning(str, obj); #endif XLogger.Push(str); XLogger.PushDump("Warning", msg, obj); } }
public static void LogException(System.Exception exception, UnityEngine.Object obj) { if (XLogger.IsEnable()) { XLogger.CreateLogger(); #if XLOGGER_CONSOLELOG m_logger.LogException(exception, obj); #endif string str = m_strInfoException.Collection(exception.ToString()); XLogger.Push(str); XLogger.PushDump("Exception", exception.ToString(), obj); } }
public static void LogError(object msg) { if (XLogger.IsEnable()) { XLogger.CreateLogger(); string str = m_strInfoError.Collection(msg.ToString()); #if XLOGGER_CONSOLELOG m_logger.LogError(str); #endif XLogger.Push(str); XLogger.PushDump("Error", msg); } }