Logger is the common interface that every logger must met. Serves as a generic holder of different types of loggers.
| 14 | // Logger is the common interface that every logger must met. |
| 15 | // Serves as a generic holder of different types of loggers. |
| 16 | type Logger interface { |
| 17 | Transform(...interface{}) string |
| 18 | Write(string) |
| 19 | Close() error |
| 20 | } |
| 21 | |
| 22 | // LoggerConfig holds the configuration of a logger |
| 23 | type LoggerConfig struct { |
no outgoing calls
no test coverage detected