(string)
| 27 | // Log provides access to a log by path or io.WriteCloser |
| 28 | type Log interface { |
| 29 | Path(string) string // Path of the log file (may be a FIFO) |
| 30 | Open(string) (io.WriteCloser, error) // Opens a log stream |
| 31 | Dump(string) // Copies logs to the console |
| 32 | Symlink(string) // Symlinks to the log directory (if there is one) |