X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=log.go;h=c9f9119f1171ece282486d118e1391b1a0241438;hb=34af0e4ad73fb149c9db2c00b0dcc544838a2df2;hp=3064a7ad4b1d5dbf1a690c6a585e80d78502ec41;hpb=2e85fe511f4f0410e4b8a1dcdb127396b7f3f7c0;p=goredo.git diff --git a/log.go b/log.go index 3064a7a..c9f9119 100644 --- a/log.go +++ b/log.go @@ -59,7 +59,7 @@ var ( CWarn string CJS string CReset string - CNone string = "NONE" + CNone = "NONE" flagDebug = flag.Bool("d", false, fmt.Sprintf("enable debug logging (%s=1)", EnvDebug)) flagNoProgress *bool @@ -108,7 +108,7 @@ func erasedStatus(s, end string) string { return s + KeyEraseLine + end } -func trace(level, format string, args ...interface{}) { +func tracef(level, format string, args ...interface{}) { var p string if MyPid != 0 { p = fmt.Sprintf("[%d] ", MyPid)