Esempio n. 1
0
        /// <summary>
        /// Outputs a warning message
        /// </summary>
        public static void LogWarning(string msg)
        {
#if UNIT_TESTING
            System.Console.WriteLine("[Warning]" + msg);
#else
            DebugInterop.Warning(msg);
#endif
        }
Esempio n. 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
            DebugInterop.Warning(String.Format(format, args));
#endif
        }