Logger is a logger that implements statute.Logger to be able to be used in mixed.WithLogger
| 8 | |
| 9 | // Logger is a logger that implements statute.Logger to be able to be used in mixed.WithLogger |
| 10 | type Logger struct { |
| 11 | debugLog *log.Logger |
| 12 | errorLog *log.Logger |
| 13 | } |
| 14 | |
| 15 | // NewLogger creates the log file and configures logger to write to both file & Standard streams(Stdout, Stderr) |
| 16 | func NewLogger(filename string) (*Logger, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected