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.
| 61 | |
| 62 | // LogMessage is implemented by values provided to QmlLogger.QmlOutput. |
| 63 | type 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 | |
| 74 | type LogSeverity int |
| 75 |
no outgoing calls
no test coverage detected