public class CustomErrorHandler : MonoBehaviour
{
private void OnCallback(string message)
{
#if DEVELOPMENT_BUILD || UNITY_EDITOR
if (message.StartsWith("E"))
Debug.LogError("Error:" + message);
else if (message.StartsWith("W"))
Debug.LogWarning("Warning:" + message);
else
Debug.Log(message);
#endif
}
}