Logging api

Refactorings to support testing logging interface. @bernerdschaefer @peterbourgon 
As a reader the name 'containerInstance' doesn't seem particularly useful.
 It restates what the type is rather than providing information about the
variable's local meaning.  How about 'state'?


On Tue, Aug 5, 2014 at 2:34 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) {
>
> containerInstance agent.ContainerInstance
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/soundcloud/harpoon/pull/21/files#r15808794>.
>