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

Function NewLogMessage

actor/sharedaction/logging.go:57–65  ·  view source on GitHub ↗
(message string, messageType string, timestamp time.Time, sourceType string, sourceInstance string)

Source from the content-addressed store, hash-verified

55}
56
57func NewLogMessage(message string, messageType string, timestamp time.Time, sourceType string, sourceInstance string) *LogMessage {
58 return &LogMessage{
59 message: message,
60 messageType: messageType,
61 timestamp: timestamp,
62 sourceType: sourceType,
63 sourceInstance: sourceInstance,
64 }
65}
66
67type LogMessages []*LogMessage
68

Calls

no outgoing calls

Tested by

no test coverage detected