예제 #1
0
        /// <summary>
        /// Outputs a warning message
        /// </summary>
        public static void LogWarning(string msg)
        {
#if UNIT_TESTING
            System.Console.WriteLine("[Warning]" + msg);
#else
            NativeDebugMethods.Warning(msg);
#endif
        }
예제 #2
0
        /// <summary>
        /// Outputs a warning message
        /// </summary>
        /// <param name="format"></param>
        /// <param name="args"></param>
        public static void LogWarning(string format, params object[] args)
        {
#if UNIT_TESTING
            System.Console.WriteLine(format, args);
#else
            NativeDebugMethods.Warning(String.Format(format, args));
#endif
        }