layout: Implement flow tree dumping with RUST_LOG=debug is on.

r? @pcwalton
Why not just println?