MCPcopy
hub / github.com/go-qml/qml / LogMessage

Interface LogMessage

log.go:63–72  ·  view source on GitHub ↗

NOTE: LogMessage is an interface to avoid allocating and copying several strings for each logged message. LogMessage is implemented by values provided to QmlLogger.QmlOutput.

Source from the content-addressed store, hash-verified

61
62// LogMessage is implemented by values provided to QmlLogger.QmlOutput.
63type LogMessage interface {
64 Severity() LogSeverity
65 Text() string
66 File() string
67 Line() int
68
69 String() string // returns "file:line: text"
70
71 privateMarker()
72}
73
74type LogSeverity int
75

Callers 5

funcCommentFunction · 0.65
ReadFunction · 0.65
readMaterialsFunction · 0.65
QmlOutputMethod · 0.65
QmlOutputMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected