func (l *Logger) New(ctx string) *Logger {
	if l.context != "" {
		if ctx != "" {
			ctx = l.context + "." + ctx
		} else {
			ctx = l.context
		}
	}
	return &Logger{
		context: l.context,
		parent:  l,
	}
}
Create a new logger.
package log
import (
	"fmt"
	"runtime"
	"sync"
	"time"
)
var (
	entryPool = &sync.Pool{}
	root      = &Logger{}
	slicePool = &sync.Pool{}
)
type Logger struct {
	context    string
	handler    Handler
	parent     *Logger
	stacktrace bool
	stop       bool
}