general: add features.go

This commit is contained in:
nadoo committed 2020-09-27 14:51:36 +08:00
1 parent 3d61be2819
commit 9ca06ee32f
6 files changed
+78 -25

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ func Debugf(format string, v ...interface{}) {
stdlog.Output(2, fmt.Sprintf(format, v...))
}
// Print prints log.
func Print(v ...interface{}) {
stdlog.Print(v...)
}
// Printf prints log.
func Printf(format string, v ...interface{}) {
stdlog.Printf(format, v...)