SetOutput sets the logger output.
(output io.Writer)
| 61 | |
| 62 | // SetOutput sets the logger output. |
| 63 | func SetOutput(output io.Writer) { |
| 64 | root.SetOutput(output) |
| 65 | } |
| 66 | |
| 67 | // SetFormatter sets the logger formatter. |
| 68 | func SetFormatter(formatter logrus.Formatter) { |