logging assembly discovery

#1562
Apologies if you keep answering me and I'm forgetting. This and the `WriteStructure` below really feel like they're much more generic than MVC's needs and should be in logging somewhere. Is this the plan?