diff --git a/ModTek.Common/Utils/LogStream.cs b/ModTek/Features/Logging/LogStream.cs similarity index 91% rename from ModTek.Common/Utils/LogStream.cs rename to ModTek/Features/Logging/LogStream.cs index 6a433c4..01dffd5 100644 --- a/ModTek.Common/Utils/LogStream.cs +++ b/ModTek/Features/Logging/LogStream.cs @@ -1,7 +1,7 @@ using System; -using ModTek.Common.Utils.LogStreamImpl; +using ModTek.Features.Logging.LogStreamImpl; -namespace ModTek.Common.Utils; +namespace ModTek.Features.Logging; internal class LogStream { diff --git a/ModTek.Common/Utils/LogStreamImpl/FileStreamImpl.cs b/ModTek/Features/Logging/LogStreamImpl/FileStreamImpl.cs similarity index 94% rename from ModTek.Common/Utils/LogStreamImpl/FileStreamImpl.cs rename to ModTek/Features/Logging/LogStreamImpl/FileStreamImpl.cs index 8096e75..13d5911 100644 --- a/ModTek.Common/Utils/LogStreamImpl/FileStreamImpl.cs +++ b/ModTek/Features/Logging/LogStreamImpl/FileStreamImpl.cs @@ -1,6 +1,6 @@ using System.IO; -namespace ModTek.Common.Utils.LogStreamImpl; +namespace ModTek.Features.Logging.LogStreamImpl; internal class FileStreamImpl : ILogStream { diff --git a/ModTek.Common/Utils/LogStreamImpl/ILogStream.cs b/ModTek/Features/Logging/LogStreamImpl/ILogStream.cs similarity index 76% rename from ModTek.Common/Utils/LogStreamImpl/ILogStream.cs rename to ModTek/Features/Logging/LogStreamImpl/ILogStream.cs index 9aa16d2..f905854 100644 --- a/ModTek.Common/Utils/LogStreamImpl/ILogStream.cs +++ b/ModTek/Features/Logging/LogStreamImpl/ILogStream.cs @@ -1,6 +1,6 @@ using System; -namespace ModTek.Common.Utils.LogStreamImpl; +namespace ModTek.Features.Logging.LogStreamImpl; internal interface ILogStream : IDisposable { diff --git a/ModTek.Common/Utils/LogStreamImpl/MonoIoFileStreamImpl.cs b/ModTek/Features/Logging/LogStreamImpl/MonoIoFileStreamImpl.cs similarity index 98% rename from ModTek.Common/Utils/LogStreamImpl/MonoIoFileStreamImpl.cs rename to ModTek/Features/Logging/LogStreamImpl/MonoIoFileStreamImpl.cs index 73f1293..a5a9487 100644 --- a/ModTek.Common/Utils/LogStreamImpl/MonoIoFileStreamImpl.cs +++ b/ModTek/Features/Logging/LogStreamImpl/MonoIoFileStreamImpl.cs @@ -1,7 +1,7 @@ using System; using System.IO; -namespace ModTek.Common.Utils.LogStreamImpl; +namespace ModTek.Features.Logging.LogStreamImpl; // posix guarantees atomic appends to a file // so instead of app level locks we get os level serialization diff --git a/ModTek.Common/Utils/LogStreamImpl/Win32ApiImpl.cs b/ModTek/Features/Logging/LogStreamImpl/Win32ApiImpl.cs similarity index 98% rename from ModTek.Common/Utils/LogStreamImpl/Win32ApiImpl.cs rename to ModTek/Features/Logging/LogStreamImpl/Win32ApiImpl.cs index 67bad68..9eee9bd 100644 --- a/ModTek.Common/Utils/LogStreamImpl/Win32ApiImpl.cs +++ b/ModTek/Features/Logging/LogStreamImpl/Win32ApiImpl.cs @@ -1,11 +1,10 @@ using System; using System.IO; using System.Runtime.InteropServices; -using System.Text; using System.Threading; using Microsoft.Win32.SafeHandles; -namespace ModTek.Common.Utils.LogStreamImpl; +namespace ModTek.Features.Logging.LogStreamImpl; // avoids lock in the app // still serializes the IO on OS level