Info writes a log to the writer provided.
(wtr io.Writer, header string, lines ...string)
| 49 | |
| 50 | // Info writes a log to the writer provided. |
| 51 | func Info(wtr io.Writer, header string, lines ...string) { |
| 52 | _, _ = fmt.Fprint(wtr, cliMessage{ |
| 53 | Header: header, |
| 54 | Lines: lines, |
| 55 | }.String()) |
| 56 | } |
| 57 | |
| 58 | // Infof writes a formatted log to the writer provided. |
| 59 | func Infof(wtr io.Writer, fmtStr string, args ...interface{}) { |
no test coverage detected