hal: log when host is registered

This commit is contained in:
Karan Misra 2014-04-11 13:59:58 +05:30
parent 138c100f8d
commit 51ec19d6a1
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ package embd
import (
"errors"
"fmt"
"github.com/golang/glog"
)
// Descriptor represents a host descriptor.
@ -31,6 +33,8 @@ func Register(host Host, describer Describer) {
panic("embd: describer already registered")
}
describers[host] = describer
glog.V(1).Infof("embd: host %v is registered", host)
}
var hostOverride Host