public static void Log(string s)
        {
            string namesection = GetNameSection();

            Native_Log(namesection, s);
            MelonConsole.RunLogCallbacks(namesection, s);
        }
        internal static void LogMelonError(string msg, string modname)
        {
            string namesection = (string.IsNullOrEmpty(modname) ? "" : ("[" + modname.Replace(" ", "_") + "] "));

            Native_LogMelonError(namesection, msg);
            MelonConsole.RunErrorCallbacks(namesection, msg);
        }
        public static void Log(ConsoleColor color, string s)
        {
            string namesection = GetNameSection();

            Native_LogColor(namesection, s, color);
            MelonConsole.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);
            MelonConsole.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);
            MelonConsole.RunLogCallbacks(namesection, fmt);
        }