func (c *Console) SetWriter(w io.Writer) {
	c.writer = w
}
SetWriter sets Console's wriiter
Default is : os.Stderr
package console
import (
	"bufio"
	"fmt"
	"io"
	stdlog "log"
	"os"
	"strconv"
	"github.com/go-playground/ansi/v3"
	"github.com/go-playground/log/v7"
)
const (
	space   = byte(' ')
	equals  = byte('=')
	newLine = byte('\n')
	base10  = 10
	v       = "%v"
)
type Console struct {
	colors          [8]ansi.EscSeq
	writer          io.Writer
	r               *io.PipeReader
	timestampFormat string
	displayColor    bool
	redirectSTDOut  bool
	close           chan struct{}
}
var defaultColors = [...]ansi.EscSeq{
	log.DebugLevel:  ansi.Green,
	log.InfoLevel:   ansi.Blue,
	log.NoticeLevel: ansi.LightCyan,
	log.WarnLevel:   ansi.LightYellow,
	log.ErrorLevel:  ansi.LightRed,
	log.PanicLevel:  ansi.Red,
	log.AlertLevel:  ansi.Red + ansi.Underline,
	log.FatalLevel:  ansi.Red + ansi.Underline + ansi.Blink,
}
func New(redirectSTDOut bool) *Console {
	c := &Console{
		colors:          defaultColors,
		writer:          os.Stderr,
		timestampFormat: "2006-01-02 15:04:05.000000000Z07:00",
		displayColor:    true,
		redirectSTDOut:  redirectSTDOut,
		close:           make(chan struct{}),
	}
	if redirectSTDOut {
		done := make(chan struct{})
		go c.handleStdLogger(done)
		<-done  
	}
	return c
}
func (c *Console) SetDisplayColor(b bool) {
	c.displayColor = b
}
func (c *Console) SetTimestampFormat(format string) {
	c.timestampFormat = format
}