this is only for testing purposes. Ideally client wouldn't want file based sink
| 174 | |
| 175 | // this is only for testing purposes. Ideally client wouldn't want file based sink |
| 176 | type fileSink struct { |
| 177 | // log writer is buffered. Do take care of that while testing |
| 178 | fileWriter *x.LogWriter |
| 179 | } |
| 180 | |
| 181 | func (f *fileSink) Send(messages []SinkMessage) error { |
| 182 | for _, m := range messages { |
nothing calls this directly
no outgoing calls
no test coverage detected