From 5e9b030ec7b975a59a3bac2f64ab5a3631aed9fe Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 19 Nov 2016 00:10:16 -0500 Subject: fix compatibility with mods using Log.Out --- src/StardewModdingAPI/Log.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/StardewModdingAPI') diff --git a/src/StardewModdingAPI/Log.cs b/src/StardewModdingAPI/Log.cs index 02455f3a..3ab9fe78 100644 --- a/src/StardewModdingAPI/Log.cs +++ b/src/StardewModdingAPI/Log.cs @@ -155,6 +155,14 @@ namespace StardewModdingAPI Log.Monitor.LegacyLog(Log.GetModName(), message?.ToString(), ConsoleColor.White, LogLevel.Info); } + /// Asynchronously log an info message to the console. + /// The message to log. + public static void Out(object message) + { + Log.WarnDeprecated(); + Log.Async($"[OUT] {message}"); + } + /// Asynchronously log a debug message to the console. /// The message to log. public static void Debug(object message) -- cgit