This commit is contained in:
life committed 2014-05-07 13:06:24 +08:00
1 parent fac05a7b6c
commit 476ade10e7
1085 files changed
+259628

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package lea
import (
"encoding/json"
"github.com/revel/revel"
)
func Log(i interface{}) {
revel.INFO.Println(i)
}
func LogJ(i interface{}) {
b, _ := json.MarshalIndent(i, "", " ")
revel.INFO.Println(string(b))
}