提交 71245e59 作者: Henry

remove unused POut()

上级 5b5d3221
package util package util
import ( import (
"fmt"
"os" "os"
logging "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-logging" logging "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-logging"
...@@ -33,11 +32,6 @@ const ( ...@@ -33,11 +32,6 @@ const (
// loggers is the set of loggers in the system // loggers is the set of loggers in the system
var loggers = map[string]*logging.Logger{} var loggers = map[string]*logging.Logger{}
// POut is a shorthand printing function to output to Stdout.
func POut(format string, a ...interface{}) {
fmt.Fprintf(os.Stdout, format, a...)
}
// SetupLogging will initialize the logger backend and set the flags. // SetupLogging will initialize the logger backend and set the flags.
func SetupLogging() { func SetupLogging() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论