mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +01:00
hal: log when host is registered
This commit is contained in:
parent
138c100f8d
commit
51ec19d6a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user