public DeveloperConsole()
        {
            LogDepth = Config.Wrap("Config", "Log buffer size", "Size of the log buffer in characters", 16300);
            LogUnity = BepinexConfig.Wrap("Logging", "UnityLogListening", "Enables showing unity log messages in the BepInEx logging system.", true);

            Logging.Logger.Listeners.Add(new LogListener());
            Logger = base.Logger;
        }
示例#2
0
 public MessageCenter()
 {
     Enabled = Config.Wrap("General", "Show messages in UI", "Allow plugins to show on screen messages", true);
     Logging.Logger.Listeners.Add(new MessageLogListener());
 }