void LogCallBackHandler(string condition, string stackTrace, LogType type) { if (condition[0] == '<') // RichText { return; } switch (type) { case LogType.Log: XLogger.PushDump("Log", condition); break; case LogType.Warning: XLogger.PushDump("Warning", condition); break; case LogType.Error: XLogger.PushDump("Error", condition); break; case LogType.Exception: XLogger.PushDump("Exception", condition); break; case LogType.Assert: XLogger.PushDump("Assert", condition); break; } }