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