func (w minLevelWriter) Write(entry Entry) {
	if entry.Level < w.level {
		return
	}
	w.writer.Write(entry)
}
Write writes the log record.
package loggo
import (
	"fmt"
	"io"
	"os"
	"path/filepath"
	"github.com/juju/ansiterm"
)
const DefaultWriterName = "default"
type Writer interface {
	Write(entry Entry)
}
func NewMinimumLevelWriter(writer Writer, minLevel Level) Writer {
	return &minLevelWriter{
		writer: writer,
		level:  minLevel,
	}
}
type minLevelWriter struct {
	writer Writer
	level  Level
}