(msg interface{})
| 263 | } |
| 264 | |
| 265 | func (pe PlainEncoder) Encode(msg interface{}) (err error) { |
| 266 | if m, ok := msg.(protocol.LogMessage); ok && pe.sampleFilename == os.DevNull { |
| 267 | _, err = fmt.Println(m.StringNoOffset()) |
| 268 | } else { |
| 269 | _, err = fmt.Println(m) |
| 270 | } |
| 271 | return |
| 272 | } |
nothing calls this directly
no test coverage detected