You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
889 B

  1. 
  2. using IPA.Logging;
  3. namespace IPA.Loader.Features
  4. {
  5. internal class PrintFeature : Feature
  6. {
  7. public override bool Initialize(PluginLoader.PluginMetadata meta, string[] parameters)
  8. {
  9. Logger.features.Info($"{meta.Name}: {string.Join(" ", parameters)}");
  10. return true;
  11. }
  12. }
  13. internal class DebugFeature : Feature
  14. {
  15. public override bool Initialize(PluginLoader.PluginMetadata meta, string[] parameters)
  16. {
  17. Logger.features.Debug($"{meta.Name}: {string.Join(" ", parameters)}");
  18. return true;
  19. }
  20. }
  21. internal class WarnFeature : Feature
  22. {
  23. public override bool Initialize(PluginLoader.PluginMetadata meta, string[] parameters)
  24. {
  25. Logger.features.Debug($"{meta.Name}: {string.Join(" ", parameters)}");
  26. return true;
  27. }
  28. }
  29. }