MCPcopy Index your code
hub / github.com/celzero/firestack / write

Method write

intra/log/memconsole.go:207–312  ·  view source on GitHub ↗

write serialises one log line into the next available fixed-width slot. Slot layout (memSlotSize = 800 bytes): [0 : n] level prefix (2 bytes) + message body (up to 797 bytes) + '\n' [n : 800] zero-filled tail The two-character level prefix (e.g. "W ") is prepended when absent. The messa

(lvl LogLevel, msg Logmsg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LogMethod · 0.95

Calls 7

swapBuffersLockedMethod · 0.95
consumeMethod · 0.95
tickerMethod · 0.95
CompareAndSwapMethod · 0.80
AddMethod · 0.65
LoadMethod · 0.45
sMethod · 0.45

Tested by

no test coverage detected