Give enums a unique ID
This commit is contained in:
parent
49eca27204
commit
defaa53a40
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue