MCPcopy Create free account
hub / github.com/danderson/netboot / debugPacket

Method debugPacket

pixiecore/logging.go:104–109  ·  view source on GitHub ↗
(subsystem string, layer int, packet []byte)

Source from the content-addressed store, hash-verified

102}
103
104func (s *Server) debugPacket(subsystem string, layer int, packet []byte) {
105 if s.Debug == nil {
106 return
107 }
108 s.Debug(subsystem, fmt.Sprintf("PKT %d %s END", layer, base64.StdEncoding.EncodeToString(packet)))
109}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected