This commit is contained in:
lealife
2017-12-01 10:52:48 +08:00
parent 347e79610e
commit 29413c0e52
2 changed files with 8 additions and 3 deletions

View File

@ -10,6 +10,10 @@ func Log(msg string, i ...interface{}) {
revel.AppLog.Info(msg, i...)
}
func Logf(msg string, i ...interface{}) {
revel.AppLog.Infof(msg, i...)
}
func LogW(msg string, i ...interface{}) {
revel.AppLog.Warn(msg, i...)
}