SetOutput replaces the underlying writer used by the logger.
(writer io.Writer)
| 307 | |
| 308 | // SetOutput replaces the underlying writer used by the logger. |
| 309 | func (l *defaultLogger) SetOutput(writer io.Writer) { |
| 310 | l.stdlog.SetOutput(writer) |
| 311 | } |
| 312 | |
| 313 | // Logger returns the logger instance. It can be used to adjust the logger configurations in case of need. |
| 314 | func (l *defaultLogger) Logger() *log.Logger { |