| 60 | } |
| 61 | |
| 62 | type driver struct { |
| 63 | logfile *loggerutils.LogFile |
| 64 | |
| 65 | // extra contains prebuilt log attributes attached to every log entry. |
| 66 | // The slice and its elements must be treated as immutable after initialization, |
| 67 | // as they may be shared by multiple marshaled log entries. |
| 68 | extra []*logdriver.LogAttr |
| 69 | } |
| 70 | |
| 71 | // New creates a new local logger |
| 72 | // You must provide the `LogPath` in the passed-in info argument, this is the file path that logs are written to. |
nothing calls this directly
no outgoing calls
no test coverage detected