core: improve debug logging when targeting

This commit is contained in:
Paul Hinze 2015-06-26 14:04:37 -05:00
parent 209b3db0e8
commit 2626c179a5

View File

@ -34,7 +34,7 @@ func (t *TargetsTransformer) Transform(g *Graph) error {
for _, v := range g.Vertices() {
if _, ok := v.(GraphNodeAddressable); ok {
if !targetedNodes.Include(v) {
log.Printf("[DEBUG] Removing %s, filtered by targeting.", v)
log.Printf("[DEBUG] Removing %q, filtered by targeting.", dag.VertexName(v))
g.Remove(v)
}
}