diff --git a/IPA.Loader/Loader/PluginLoader.cs b/IPA.Loader/Loader/PluginLoader.cs
index 9c6f4682..54ac6e95 100644
--- a/IPA.Loader/Loader/PluginLoader.cs
+++ b/IPA.Loader/Loader/PluginLoader.cs
@@ -171,7 +171,13 @@ namespace IPA.Loader
if (metadata.PluginType == null)
{
- Logger.loader.Warn($"Could not find plugin type for {Path.GetFileName(plugin)}");
+ Logger.loader.Notice(
+ #if DIRE_LOADER_WARNINGS
+ $"Could not find plugin type for {Path.GetFileName(plugin)}"
+ #else
+ $"New plugin type not present in {Path.GetFileName(plugin)}; maybe an old plugin?"
+ #endif
+ );
continue;
}
diff --git a/IPA.Loader/Logging/Logger.cs b/IPA.Loader/Logging/Logger.cs
index 33b5b5fd..51438faf 100644
--- a/IPA.Loader/Logging/Logger.cs
+++ b/IPA.Loader/Logging/Logger.cs
@@ -53,6 +53,11 @@ namespace IPA.Logging
///
Info = 2,
+ ///
+ /// A notice. More significant than Info, but less than a warning.
+ ///
+ Notice = 32,
+
///
/// A warning message.
///
@@ -90,6 +95,11 @@ namespace IPA.Logging
///
InfoOnly = Level.Info,
+ ///
+ /// Only shows notice messages.
+ ///
+ NoticeOnly = Level.Notice,
+
///
/// Only shows Warning messages.
///
@@ -115,10 +125,15 @@ namespace IPA.Logging
///
WarningUp = WarningOnly | ErrorUp,
+ ///
+ /// Shows all messages Notice and up.
+ ///
+ NoticeUp = WarningUp | NoticeOnly,
+
///
/// Shows all messages info and up.
///
- InfoUp = InfoOnly | WarningUp,
+ InfoUp = InfoOnly | NoticeUp,
///
/// Shows all messages.
@@ -176,6 +191,22 @@ namespace IPA.Logging
///
/// the exception to log
public virtual void Info(Exception e) => Log(Level.Info, e);
+
+ ///
+ /// Sends a notice message.
+ /// Equivalent to Log(Level.Notice, message).
+ ///
+ ///
+ /// the message to log
+ public virtual void Notice(string message) => Log(Level.Notice, message);
+
+ ///
+ /// Sends an exception as a notice message.
+ /// Equivalent to Log(Level.Notice, e);
+ ///
+ ///
+ /// the exception to log
+ public virtual void Notice(Exception e) => Log(Level.Notice, e);
///
/// Sends a warning message.
diff --git a/IPA.Loader/Logging/StandardLogger.cs b/IPA.Loader/Logging/StandardLogger.cs
index 506a3fc8..83ff7dd3 100644
--- a/IPA.Loader/Logging/StandardLogger.cs
+++ b/IPA.Loader/Logging/StandardLogger.cs
@@ -35,6 +35,11 @@ namespace IPA.Logging
Color = ConsoleColor.White,
},
new ColoredConsolePrinter()
+ {
+ Filter = LogLevel.NoticeOnly,
+ Color = ConsoleColor.Cyan
+ },
+ new ColoredConsolePrinter()
{
Filter = LogLevel.WarningOnly,
Color = ConsoleColor.Yellow,
diff --git a/Refs/UnityEngine.CoreModule.dll b/Refs/UnityEngine.CoreModule.dll
index f6478af7..ec2d2901 100644
Binary files a/Refs/UnityEngine.CoreModule.dll and b/Refs/UnityEngine.CoreModule.dll differ