示例#1
0
 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();
     });
 }
示例#2
0
 private void InitLogging()
 {
     // Create our logger and add it to the compound logger
     logger = new UnityLogger();
     Interface.GetMod().RootLogger.AddLogger(logger);
 }