private void InitLogging() { // Create our logger and add it to the compound logger Interface.Oxide.NextTick(() => { logger = new UnityLogger(); Interface.Oxide.RootLogger.AddLogger(logger); Interface.Oxide.RootLogger.DisableCache(); }); }
private void InitLogging() { // Create our logger and add it to the compound logger logger = new UnityLogger(); Interface.GetMod().RootLogger.AddLogger(logger); }