public static void Log(string s) { string namesection = GetNameSection(); Native_Log(namesection, s); CumConsole.RunLogCallbacks(namesection, s); }
internal static void LogCumError(string msg, string modname) { string namesection = (string.IsNullOrEmpty(modname) ? "" : ("[" + modname.Replace(" ", "_") + "] ")); Native_LogCumError(namesection, msg); CumConsole.RunErrorCallbacks(namesection, msg); }
public static void Log(ConsoleColor color, string s) { string namesection = GetNameSection(); Native_LogColor(namesection, s, color); CumConsole.RunLogCallbacks(namesection, s); }
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); }
public static void Log(ConsoleColor color, string s, params object[] args) { string namesection = GetNameSection(); string fmt = string.Format(s, args); Native_LogColor(namesection, fmt, color); CumConsole.RunLogCallbacks(namesection, fmt); }