MCPcopy Create free account
hub / github.com/encodeous/nylon / LogValue

Method LogValue

state/routing.go:20–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (s Source) LogValue() slog.Value {
21 return slog.GroupValue(
22 slog.String("router", string(s.NodeId)),
23 slog.String("prefix", s.Prefix.String()),
24 )
25}
26
27func (s Source) String() string {
28 return fmt.Sprintf("(router: %s, prefix: %s)", s.NodeId, s.Prefix)

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected