aboutsummaryrefslogtreecommitdiff
path: root/dep.go
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-26 10:10:24 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-26 10:10:24 +0900
commit49599e55caf178ff92b8ac6c34daf60f723ecf9b (patch)
treec9dd8356ea2bc7008e1269adc688fb5c4f51b4ab /dep.go
parent5c85040205b022f55b666c31c306c16acf198858 (diff)
downloadkati-49599e55caf178ff92b8ac6c34daf60f723ecf9b.tar.gz
unexport LogStats
Diffstat (limited to 'dep.go')
-rw-r--r--dep.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/dep.go b/dep.go
index 6d3eb26..9fb7775 100644
--- a/dep.go
+++ b/dep.go
@@ -493,10 +493,10 @@ func (db *depBuilder) reportStats() {
return
}
- LogStats("node=%d explicit=%d implicit=%d suffix=%d explicitWOCmd=%d",
+ logStats("node=%d explicit=%d implicit=%d suffix=%d explicitWOCmd=%d",
db.nodeCnt, db.pickExplicitRuleCnt, db.pickImplicitRuleCnt, db.pickSuffixRuleCnt, db.pickExplicitRuleWithoutCmdCnt)
if len(db.trace) > 1 {
- LogStats("trace=%q", db.trace)
+ logStats("trace=%q", db.trace)
}
}
@@ -528,10 +528,10 @@ func (db *depBuilder) Eval(targets []string) ([]*DepNode, error) {
targets = append(targets, db.firstRule.outputs[0])
}
- LogStats("%d variables", len(db.vars))
- LogStats("%d explicit rules", len(db.rules))
- LogStats("%d implicit rules", len(db.implicitRules))
- LogStats("%d suffix rules", len(db.suffixRules))
+ logStats("%d variables", len(db.vars))
+ logStats("%d explicit rules", len(db.rules))
+ logStats("%d implicit rules", len(db.implicitRules))
+ logStats("%d suffix rules", len(db.suffixRules))
var nodes []*DepNode
for _, target := range targets {