func SetVerbosity(verbosity int) int {
	if verbosity < 1 {
		verbosity = 1
	} else if verbosity > 3 {
		verbosity = 3
	}
	tracerVerbosity = verbosity
	return tracerVerbosity
}
SetVerbosity sets the global verbosity of the current tracer to the value received as
input, 1 meaning minimum and 3 meaning maximum verbosity. If the received value is not
in the interval [1, 3], then it is truncated. The function returns the actual verbosity set.
package tracer
import (
	"io"
	"time"
)
type Arguments struct {
	Msgs []string
}
type event struct {
	w          io.Writer
	t          time.Time
	tracerArgs func() *Arguments
}
type MessageTracer struct {
	verbosity int
}
var tracerVerbosity int
var events chan *event
func init() {
	tracerVerbosity = 1                
	events = make(chan *event, 10000)  
	go func() {
		for e := range events {
			for _, msg := range e.tracerArgs().Msgs {
				e.w.Write([]byte("["))
				e.w.Write([]byte(e.t.Format(time.RFC3339Nano)))
				e.w.Write([]byte("] "))
				e.w.Write([]byte(msg))
				e.w.Write([]byte("\n"))
			}
		}
	}()
}