Log level/type: Use enum class instead of the awkward namespace trick.

Just a small cleanup I've wanted to do for a long time.
This commit is contained in:
Henrik Rydgård committed 2023-08-25 11:48:59 +02:00
1 parent 308e983a99
commit 1025bbcf89
19 files changed
+162 -170

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ struct DebuggerLogEvent {
j.writeString("timestamp", l.timestamp);
j.writeString("header", l.header);
j.writeString("message", l.msg);
j.writeInt("level", l.level);
j.writeInt("level", (int)l.level);
j.writeString("channel", l.log);
j.end();
return j.str();