This commit is contained in:
CupWater
2026-08-17 13:35:14 +08:00
parent b4ed8d601d
commit 7eb3331d8e
3 changed files with 24 additions and 27 deletions
+5 -6
View File
@@ -3,10 +3,9 @@
#include <cstdint>
namespace flog
{
enum class LogLevel : uint8_t
{
namespace flog {
using LogLevelType = uint8_t;
enum class LogLevel : LogLevelType {
TRACE = 0,
DEBUG = 1,
INFO = 2,
@@ -14,8 +13,8 @@ namespace flog
ERROR = 4,
FATAL = 5,
OFF = 0xff,
OFF = std::numeric_limits<LogLevelType>::max()
};
}
#endif
#endif