Esempio n. 1
0
        internal static void LogCumError(string msg, string modname)
        {
            string namesection = (string.IsNullOrEmpty(modname) ? "" : ("[" + modname.Replace(" ", "_") + "] "));

            Native_LogCumError(namesection, msg);
            CumConsole.RunErrorCallbacks(namesection, msg);
        }
Esempio n. 2
0
        public static void LogError(string s)
        {
            string namesection = GetNameSection();

            Native_LogError(namesection, s);
            CumConsole.RunErrorCallbacks(namesection, s);
        }
Esempio n. 3
0
        public static void LogError(string s, params object[] args)
        {
            string namesection = GetNameSection();
            string fmt         = string.Format(s, args);

            Native_LogError(namesection, fmt);
            CumConsole.RunErrorCallbacks(namesection, fmt);
        }