Give enums a unique ID

This commit is contained in:
blankie 2023-01-23 16:10:01 +07:00
parent 49eca27204
commit defaa53a40
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 13 additions and 13 deletions

View File

@ -4,22 +4,22 @@
#include <optional> #include <optional>
enum class Buffer { enum class Buffer {
Unknown, Unknown = 0b1,
Main, Main = 0b10,
System, System = 0b100,
Radio, Radio = 0b1000,
Events, Events = 0b10000,
Crash, Crash = 0b100000,
}; };
enum class Priority { enum class Priority {
Unknown, Unknown = 0b1,
Verbose, Verbose = 0b10,
Debug, Debug = 0b100,
Info, Info = 0b1000,
Warn, Warn = 0b10000,
Error, Error = 0b100000,
Fatal, Fatal = 0b1000000,
}; };
struct LogcatEntry { struct LogcatEntry {