| 33 | } |
| 34 | |
| 35 | type plainLogFile struct { |
| 36 | writer *os.File |
| 37 | capacity int32 |
| 38 | } |
| 39 | |
| 40 | func NewPlainLogFile(fpath string, cap int) (userlog.UserLogFile, error) { |
| 41 | file, err := os.OpenFile(fpath, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) |
nothing calls this directly
no outgoing calls
no test coverage detected