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

Method String

protocol/parse.go:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (msg LogMessage) String() string {
114 return fmt.Sprintf("{Time:%s Offset:%d Length:%d %s:%s}",
115 msg.Time.Format(TimeFormat), msg.Offset, msg.Length, msg.MsgType(), msg.Message,
116 )
117}
118
119func (msg LogMessage) StringNoOffset() string {
120 return fmt.Sprintf("{Time:%s %s:%s}", msg.Time.Format(TimeFormat), msg.MsgType(), msg.Message)

Callers

nothing calls this directly

Calls 1

MsgTypeMethod · 0.65

Tested by

no test coverage detected