MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / LogDevice

Method LogDevice

Kernel/src/logging.cpp:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 class LogDevice : public Device{
27 public:
28 LogDevice(char* name) : Device(name, TypeGenericDevice){
29 flags = FS_NODE_FILE;
30 }
31
32 ssize_t Read(size_t offset, size_t size, uint8_t *buffer){
33 if(!logBuffer) return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected