public static void log(XMLRPC_LOG_LEVEL level, string format, params object[] list) { if (level <= MINIMUM_LOG_LEVEL) #if ENABLE_MONO { UnityEngine.Debug.Log(String.Format(format, list)); } #else { Debug.WriteLine(String.Format(format, list)); } #endif }
public static void ShowOutputFromXmlRpcPInvoke(XMLRPC_LOG_LEVEL verb, printstr handler = null) { if (handler == null) handler = thisishowawesomeyouare; if (handler != _PRINTSTR) { _PRINTSTR = thisishowawesomeyouare; SetAwesomeFunctionPtr(_PRINTSTR); } SetLogLevel((int)verb); }
public static void ShowOutputFromXmlRpcPInvoke(XMLRPC_LOG_LEVEL verb, printstr handler = null) { if (handler == null) { handler = thisishowawesomeyouare; } if (handler != _PRINTSTR) { _PRINTSTR = thisishowawesomeyouare; SetAwesomeFunctionPtr(_PRINTSTR); } SetLogLevel((int)verb); }
public static void SetLogLevel(XMLRPC_LOG_LEVEL level) { MINIMUM_LOG_LEVEL = level; }
public static void log(XMLRPC_LOG_LEVEL level, string format, params object[] list) { if (level <= MINIMUM_LOG_LEVEL) #if ENABLE_MONO UnityEngine.Debug.Log(String.Format(format, list)); #else Debug.WriteLine(String.Format(format, list)); #endif }