public static void Error(string txt) { if (!IsEnabled()) { return; } MelonLogger.Internal_Error("DEBUG", txt); ErrorCallbackHandler?.Invoke(txt); }
internal static void RunErrorCallbacks(string namesection, string msg) => ErrorCallbackHandler?.Invoke(namesection, msg);