Example #1
0
        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
        }
Example #2
0
 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);
 }
Example #3
0
 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);
 }
Example #4
0
 public static void SetLogLevel(XMLRPC_LOG_LEVEL level)
 {
     MINIMUM_LOG_LEVEL = level;
 }
Example #5
0
        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
        }
Example #6
0
 public static void SetLogLevel(XMLRPC_LOG_LEVEL level)
 {
     MINIMUM_LOG_LEVEL = level;
 }