()
| 99 | } |
| 100 | |
| 101 | func (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 | |
| 110 | type NeighRoute struct { |
| 111 | PubRoute |