func Notice(format string, a ...interface{}) (err error) {
	return logger.Notice(format, a...)
}
Notice log notice message.
package log
import (
	"fmt"
	"github.com/nooncall/shazam/log/xlog"
)
var logger Logger
type Logger interface {
	SetLevel(name, level string) error
	Debug(format string, a ...interface{}) (err error)
	Trace(format string, a ...interface{}) (err error)
	Notice(format string, a ...interface{}) (err error)
	Warn(format string, a ...interface{}) (err error)
	Fatal(format string, a ...interface{}) (err error)
	Debugx(logID, format string, a ...interface{}) (err error)
	Tracex(logID, format string, a ...interface{}) (err error)
	Noticex(logID, format string, a ...interface{}) (err error)
	Warnx(logID, format string, a ...interface{}) (err error)
	Fatalx(logID, format string, a ...interface{}) (err error)
	Close()
}
func init() {
	cfg := make(map[string]string)
	cfg["level"] = "debug"
	lg, err := xlog.CreateLogManager("console", cfg)
	if err != nil {
		panic(fmt.Errorf("init global logger error: %v", err))
	}
	logger = lg
}
func SetGlobalLogger(lg Logger) {
	if logger != nil {
		logger.Close()
	}
	logger = lg
}
func Debug(format string, a ...interface{}) (err error) {
	return logger.Debug(format, a...)
}
func Debugx(logID, format string, a ...interface{}) (err error) {
	return logger.Debugx(logID, format, a...)
}
func Trace(format string, a ...interface{}) (err error) {
	return logger.Trace(format, a...)
}
func Tracex(logID, format string, a ...interface{}) (err error) {
	return logger.Tracex(logID, format, a...)
}