MCPcopy Create free account
hub / github.com/Cyinx/einx / String

Method String

slog/slog_manager.go:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27const LogBufferLength = 65535
28
29func (l Level) String() string {
30 if l < 0 || uint32(l) > uint32(len(levelStrings)) {
31 return "UNKNOWN"
32 }
33 return levelStrings[int(l)]
34}
35
36var log_pool *sync.Pool = &sync.Pool{New: func() interface{} { return new(LogRecord) }}
37

Callers 3

RecvMethod · 0.45
newTcpConnFunction · 0.45
formatHeaderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected