public override void Debug(Exception exception, string messageFormat, params object[] args)
{
if (exception != null)
UnityEngine.Debug.LogException(exception);
if (!string.IsNullOrEmpty(messageFormat))
UnityEngine.Debug.Log(string.Format(messageFormat, args));
}