MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / LogEntry

Class LogEntry

src/include/kernel_log.hpp:61–66  ·  view source on GitHub ↗

存储于 MPMC 队列中的日志条目

Source from the content-addressed store, hash-verified

59
60/// 存储于 MPMC 队列中的日志条目
61struct LogEntry {
62 uint64_t seq{0};
63 uint64_t core_id{0};
64 Level level{Level::kDebug};
65 char msg[239]{};
66};
67static_assert(sizeof(LogEntry) == 256, "LogEntry must be 256 bytes");
68
69/// 全局日志队列(64 KB 静态内存,constexpr 构造)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected