silence registration logging for testing

pull/4848/head
Cory LaNou 2015-11-30 13:49:50 -06:00
parent 35b438f8fa
commit cf4e901078
1 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,11 @@ func (s *Service) Close() error {
return nil
}
// SetLogger sets the internal logger to the logger passed in.
func (s *Service) SetLogger(l *log.Logger) {
s.logger = l
}
// Diagnostics returns diagnostics information.
func (s *Service) Diagnostics() (*monitor.Diagnostic, error) {
diagnostics := map[string]interface{}{