Logger defines the devspace common logging interface
| 22 | |
| 23 | // Logger defines the devspace common logging interface |
| 24 | type Logger interface { |
| 25 | log.Logger |
| 26 | // WithLevel creates a new logger with the given level |
| 27 | WithLevel(level logrus.Level) Logger |
| 28 | Question(params *survey.QuestionOptions) (string, error) |
| 29 | ErrorStreamOnly() Logger |
| 30 | WithPrefix(prefix string) Logger |
| 31 | WithPrefixColor(prefix, color string) Logger |
| 32 | WithSink(sink Logger) Logger |
| 33 | AddSink(sink Logger) |
| 34 | |
| 35 | Writer(level logrus.Level, raw bool) io.WriteCloser |
| 36 | WriteString(level logrus.Level, message string) |
| 37 | } |
no outgoing calls
no test coverage detected