multi_writer

package
v0.0.1-20240408-0001 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL