Documentation ¶ Index ¶ func MultiWriter(multiWriters []CustomWriter) io.Writer type CustomWriter Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MultiWriter ¶ func MultiWriter(multiWriters []CustomWriter) io.Writer MultiWriter -> create the instance which will handle the writing Types ¶ type CustomWriter ¶ type CustomWriter struct { Writer io.Writer // Should colors be filtered for this writer FilterColors bool // Here we define what type of writer is this, like stdout, file etc... Type string } Source Files ¶ View all Source files multi_writer.go Click to show internal directories. Click to hide internal directories.