Пример #1
0
        /// <summary>
        /// Log/store information
        /// </summary>
        /// <param name="Info">The text/information that should be logged</param>
        /// <param name="Level">The "level" of the information to be logged</param>
        /// <param name="Type">The type of the information that should be logged</param>
        public void LogInfo(ktString Info, int Level, ktDebugType Type)
        {
            if (!m_Enabled) { return; }

            switch (m_DebugFormat)
            {
                case ktDebugFormat.Plain:
                    {
                        LogPlain(Info);
                        break;
                    }
            }
        }
Пример #2
0
        /// <summary>
        /// Log information (static Wrapper for ::LogInfo( Info, Level, Type ) )
        /// </summary>
        /// <param name="Info">The text/information that should be logged</param>
        /// <param name="Level">The "level" of the information to be logged</param>
        /// <param name="Type">The type of the information that should be logged</param>
        public static void Log(ktString Info, int Level, ktDebugType Type)
        {
            if (ktDebug.Debugger == null) { return; }

            ktDebug.Debugger.LogInfo(Info, Level, Type);
        }