Ready to refine the context and router bean.

This commit is contained in:
zicla
2019-04-27 23:36:50 +08:00
parent 02805363ac
commit 76a544fb1f
9 changed files with 43 additions and 30 deletions

View File

@ -1,9 +1,5 @@
package core
//日志系统必须高保
//全局唯一的日志对象(在main函数中初始化)
var LOGGER Logger
type Logger interface {
//处理日志的统一方法。
Log(prefix string, format string, v ...interface{})