diff options
-rw-r--r-- | src/StardewModdingAPI/Framework/LogWriter.cs (renamed from src/StardewModdingAPI/LogWriter.cs) | 5 | ||||
-rw-r--r-- | src/StardewModdingAPI/Log.cs | 1 | ||||
-rw-r--r-- | src/StardewModdingAPI/LogInfo.cs (renamed from src/StardewModdingAPI/Logger.cs) | 0 | ||||
-rw-r--r-- | src/StardewModdingAPI/StardewModdingAPI.csproj | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/LogWriter.cs b/src/StardewModdingAPI/Framework/LogWriter.cs index 139d89bf..2cabb8d5 100644 --- a/src/StardewModdingAPI/LogWriter.cs +++ b/src/StardewModdingAPI/Framework/LogWriter.cs @@ -3,10 +3,10 @@ using System.Collections.Concurrent; using System.IO; using System.Linq; -namespace StardewModdingAPI +namespace StardewModdingAPI.Framework { /// <summary>A log writer which queues messages for output, and periodically flushes them to the console and log file.</summary> - public class LogWriter + internal class LogWriter { /********* ** Properties @@ -80,6 +80,7 @@ namespace StardewModdingAPI } } + /********* ** Private methods *********/ diff --git a/src/StardewModdingAPI/Log.cs b/src/StardewModdingAPI/Log.cs index ddd82579..2b814f91 100644 --- a/src/StardewModdingAPI/Log.cs +++ b/src/StardewModdingAPI/Log.cs @@ -2,6 +2,7 @@ using System; using System.IO; using System.Threading; using System.Threading.Tasks; +using StardewModdingAPI.Framework; namespace StardewModdingAPI { diff --git a/src/StardewModdingAPI/Logger.cs b/src/StardewModdingAPI/LogInfo.cs index f0f08e4f..f0f08e4f 100644 --- a/src/StardewModdingAPI/Logger.cs +++ b/src/StardewModdingAPI/LogInfo.cs diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj index ddab8734..9e89c9e6 100644 --- a/src/StardewModdingAPI/StardewModdingAPI.csproj +++ b/src/StardewModdingAPI/StardewModdingAPI.csproj @@ -198,8 +198,8 @@ <Compile Include="Inheritance\ChangeType.cs" /> <Compile Include="Inheritance\ItemStackChange.cs" /> <Compile Include="Log.cs" /> - <Compile Include="Logger.cs" /> - <Compile Include="LogWriter.cs" /> + <Compile Include="LogInfo.cs" /> + <Compile Include="Framework\LogWriter.cs" /> <Compile Include="Manifest.cs" /> <Compile Include="Mod.cs" /> <Compile Include="Program.cs" /> |