summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-04-30 18:55:16 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-04-30 18:55:16 -0400
commit482a91962ac02cf83c2647fd7e5ba8627bd0bb0b (patch)
treedeb6d10f11185beba973d07e9510f790588071dc /src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs
parent22806ab900721a61b142937bc58dd33727d377f9 (diff)
parentd4f172fef160d277d5161d96a26d5174e6fc14ca (diff)
downloadSMAPI-482a91962ac02cf83c2647fd7e5ba8627bd0bb0b.tar.gz
SMAPI-482a91962ac02cf83c2647fd7e5ba8627bd0bb0b.tar.bz2
SMAPI-482a91962ac02cf83c2647fd7e5ba8627bd0bb0b.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs')
-rw-r--r--src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs b/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs
index d84671ee..b8f2c34e 100644
--- a/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs
+++ b/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs
@@ -18,8 +18,8 @@ namespace StardewModdingAPI.Framework.Logging
/// <summary>Whether the current console supports color formatting.</summary>
public bool SupportsColor { get; }
- /// <summary>The event raised when something writes a line to the console directly.</summary>
- public event Action<string> OnLineIntercepted;
+ /// <summary>The event raised when a message is written to the console directly.</summary>
+ public event Action<string> OnMessageIntercepted;
/*********
@@ -30,7 +30,7 @@ namespace StardewModdingAPI.Framework.Logging
{
// redirect output through interceptor
this.Output = new InterceptingTextWriter(Console.Out);
- this.Output.OnLineIntercepted += line => this.OnLineIntercepted?.Invoke(line);
+ this.Output.OnMessageIntercepted += line => this.OnMessageIntercepted?.Invoke(line);
Console.SetOut(this.Output);
// test color support