(dataStore, ns, id string)
| 39 | } |
| 40 | |
| 41 | func Path(dataStore, ns, id string) string { |
| 42 | // the file name corresponds to Docker |
| 43 | return filepath.Join(dataStore, "containers", ns, id, id+"-json.log") |
| 44 | } |
| 45 | |
| 46 | // SyncEncoder writes individual json-file log entries to a writer. Its Encode |
| 47 | // method is safe for concurrent use, so it can be shared between the goroutines |
no outgoing calls
no test coverage detected
searching dependent graphs…