| 36 | } |
| 37 | |
| 38 | type JSONLogFile struct { |
| 39 | writer *os.File |
| 40 | capacity int32 |
| 41 | } |
| 42 | |
| 43 | func NewJSONLogFile(fpath string, cap int) (userlog.UserLogFile, error) { |
| 44 | f, err := os.OpenFile(fpath, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0644) |
nothing calls this directly
no outgoing calls
no test coverage detected