mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move Logging enums back to proper project
This commit is contained in:
@@ -650,26 +650,4 @@ namespace SabreTools.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Logging
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Severity of the logging statement
|
|
||||||
/// </summary>
|
|
||||||
public enum LogLevel
|
|
||||||
{
|
|
||||||
[Mapping("verbose")]
|
|
||||||
VERBOSE = 0,
|
|
||||||
|
|
||||||
[Mapping("user")]
|
|
||||||
USER,
|
|
||||||
|
|
||||||
[Mapping("warning")]
|
|
||||||
WARNING,
|
|
||||||
|
|
||||||
[Mapping("error")]
|
|
||||||
ERROR,
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
|
|||||||
22
SabreTools.Logging/Enums.cs
Normal file
22
SabreTools.Logging/Enums.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using SabreTools.Core;
|
||||||
|
|
||||||
|
namespace SabreTools.Logging
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Severity of the logging statement
|
||||||
|
/// </summary>
|
||||||
|
public enum LogLevel
|
||||||
|
{
|
||||||
|
[Mapping("verbose")]
|
||||||
|
VERBOSE = 0,
|
||||||
|
|
||||||
|
[Mapping("user")]
|
||||||
|
USER,
|
||||||
|
|
||||||
|
[Mapping("warning")]
|
||||||
|
WARNING,
|
||||||
|
|
||||||
|
[Mapping("error")]
|
||||||
|
ERROR,
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
using SabreTools.Core;
|
using SabreTools.Core;
|
||||||
using SabreTools.Core.Tools;
|
using SabreTools.Core.Tools;
|
||||||
using SabreTools.DatFiles;
|
using SabreTools.DatFiles;
|
||||||
|
using SabreTools.Logging;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace SabreTools.Test.Core
|
namespace SabreTools.Test.Core
|
||||||
|
|||||||
Reference in New Issue
Block a user