aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-27 16:49:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-27 16:49:52 +0000
commit0b835816e1abc8be8c0c1a8a948eaf7594e6d5e6 (patch)
tree8e4c3d166e538b5e19c28b9042af8a512f0c3c6a
parent7224ee80cc55396c267b2517c01ffd9527e16700 (diff)
downloadpaludis-0b835816e1abc8be8c0c1a8a948eaf7594e6d5e6.tar.gz
paludis-0b835816e1abc8be8c0c1a8a948eaf7594e6d5e6.tar.xz
Log || scores
-rw-r--r--paludis/resolver/sanitised_dependencies.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index 7312ceb..a533801 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -286,8 +286,10 @@ namespace
for (std::list<PackageOrBlockDepSpec>::const_iterator h(g->begin()), h_end(g->end()) ;
h != h_end ; ++h)
{
- std::pair<AnyChildScore, OperatorScore> score(
- decider.find_any_score(our_resolution, our_id, make_sanitised(PackageOrBlockDepSpec(*h))));
+ auto score(decider.find_any_score(our_resolution, our_id, make_sanitised(PackageOrBlockDepSpec(*h))));
+ Log::get_instance()->message("resolver.sanitised_dependencies.any_score", ll_debug, lc_context)
+ << "Scored " << *h << " as " << score.first << " " << score.second;
+
if (score < worst_score)
worst_score = score;
}