func Get() log.Logger {
	return logger
}
Get gets the logger.
package logger
import (
	"log/syslog"
	"os"
	"github.com/tevino/log"
)
const (
	defaultFlags    = log.LstdFlags | log.Lshortfile | log.Lmicroseconds
	defaultPriority = syslog.LOG_INFO | syslog.LOG_USER
)
var (
	logger log.Logger
)
func init() {
	logger = log.NewLogger(os.Stdout, defaultFlags)
	logger.SetCallerOffset(1)
	logger.SetOutputLevel(log.DEBUG)
}
func InitSyslog(target, tag string) {
	writer, err := newSysLogWriter(target, defaultPriority, tag)
	if err != nil {
		logger.Fatal("Init syslog fail: ", err)
	}
	logger = log.NewLogger(writer, defaultFlags)
	logger.SetCallerOffset(1)
}
func SetLevel(level string) {
	logger.SetOutputLevel(log.LevelFromString(level))
	logger.Info("Log level: ", logger.OutputLevel())
}