Esempio n. 1
0
        /// <summary>
        /// Logs a message to the console, regardless of log_verbosity settings
        /// </summary>
        public static void LogAlways(string msg)
        {
#if UNIT_TESTING
            System.Console.WriteLine(msg);
#else
            NativeDebugMethods.LogAlways(msg);
#endif
        }
Esempio n. 2
0
        /// <summary>
        /// Logs a message to the console, regardless of log_verbosity settings
        /// </summary>
        /// <param name="format"></param>
        /// <param name="args"></param>
        public static void LogAlways(string format, params object[] args)
        {
#if UNIT_TESTING
            System.Console.WriteLine(format, args);
#else
            NativeDebugMethods.LogAlways(String.Format(format, args));
#endif
        }