diff --git a/SimpleLog/DefaultLogger.cs b/SimpleLog/DefaultLogger.cs index 9341599..d92265b 100644 --- a/SimpleLog/DefaultLogger.cs +++ b/SimpleLog/DefaultLogger.cs @@ -3,30 +3,6 @@ using System.Collections.Generic; namespace SimpleLog { - [Flags] - public enum LogLevel { - Debug = 1, - Info = 2, - Warning = 4, - Error = 8, - Critical = 16 - } - - public struct LineTerminator { - /// - /// Windows line terminator (CRLF) - /// - public static readonly string Windows = "\r\n"; - /// - /// Macintosh line terminator (CR) - /// - public static readonly string Mac = "\r"; - /// - /// Unix line terminator (LF) - /// - public static readonly string Unix = "\n"; - } - public class DefaultLogger : ILogger { /// diff --git a/SimpleLog/Util.cs b/SimpleLog/Util.cs index a8d14eb..a29b318 100644 --- a/SimpleLog/Util.cs +++ b/SimpleLog/Util.cs @@ -1,4 +1,31 @@ -namespace SimpleLog { +using System; + +namespace SimpleLog { + + [Flags] + public enum LogLevel { + Debug = 1, + Info = 2, + Warning = 4, + Error = 8, + Critical = 16 + } + + public struct LineTerminator { + /// + /// Windows line terminator (CRLF) + /// + public static readonly string Windows = "\r\n"; + /// + /// Macintosh line terminator (CR) + /// + public static readonly string Mac = "\r"; + /// + /// Unix line terminator (LF) + /// + public static readonly string Unix = "\n"; + } + public static class Util { ///