MCPcopy Index your code
hub / github.com/bemasher/rtlamr / StringNoOffset

Method StringNoOffset

protocol/parse.go:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (msg LogMessage) StringNoOffset() string {
120 return fmt.Sprintf("{Time:%s %s:%s}", msg.Time.Format(TimeFormat), msg.MsgType(), msg.Message)
121}
122
123func (msg LogMessage) Record() (r []string) {
124 r = append(r, msg.Time.Format(time.RFC3339Nano))

Callers 1

EncodeMethod · 0.80

Calls 1

MsgTypeMethod · 0.65

Tested by

no test coverage detected