Use new melonloader logging method

This commit is contained in:
Sinai 2022-02-24 19:26:16 +11:00
parent 2f0876466c
commit 4e76eca73a

View File

@ -31,9 +31,9 @@ namespace UnityExplorer
public ConfigHandler ConfigHandler => _configHandler;
public MelonLoaderConfigHandler _configHandler;
public Action<object> OnLogMessage => MelonLogger.Msg;
public Action<object> OnLogWarning => MelonLogger.Warning;
public Action<object> OnLogError => MelonLogger.Error;
public Action<object> OnLogMessage => LoggerInstance.Msg;
public Action<object> OnLogWarning => LoggerInstance.Warning;
public Action<object> OnLogError => LoggerInstance.Error;
public override void OnApplicationStart()
{