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

Method LogValue

state/routing.go:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (r PubRoute) LogValue() slog.Value {
102 return slog.GroupValue(
103 slog.String("router", string(r.NodeId)),
104 slog.String("prefix", r.Prefix.String()),
105 slog.Uint64("seqno", uint64(r.Seqno)),
106 slog.Uint64("metric", uint64(r.Metric)),
107 )
108}
109
110type NeighRoute struct {
111 PubRoute

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected