Logging api

Refactorings to support testing logging interface. @bernerdschaefer @peterbourgon 
Yeah, I went back and forth.  It's also possible we could replace the
function above and statec with a direct call to this function elsewhere.


On Tue, Aug 5, 2014 at 2:35 PM, Peter Bourgon <notifications@github.com>
wrote:

> In harpoon-agent/registry.go:
>
> >
> > -		for subc := range r.subscribers {
> > -			subc <- state
> > -		}
> > +func (r *registry) notifySubscribers(stateChange agent.ContainerInstance) {
>
> This function only has 1 caller. Probably should just be inlined.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/soundcloud/harpoon/pull/21/files#r15808813>.
>