MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewLogCacheMessage

Function NewLogCacheMessage

cf/api/logs/log_cache_message.go:24–29  ·  view source on GitHub ↗
(c ColorLogger, m sharedaction.LogMessage)

Source from the content-addressed store, hash-verified

22}
23
24func NewLogCacheMessage(c ColorLogger, m sharedaction.LogMessage) *LogCacheMessage {
25 return &LogCacheMessage{
26 colorLogger: c,
27 msg: m,
28 }
29}
30
31func (m *LogCacheMessage) ToSimpleLog() string {
32 return m.msg.Message()

Callers 3

RecentLogsForMethod · 0.85
TailLogsForMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected