Plugins: Create single point of entry for adding / removing plugins (#55463)
* split out plugin manager * remove whitespace * fix tests * split up tests * updating naming conventions * simplify manager * tidy * explorations * fix build * tidy * fix tests * add logger helper * pass the tests * tidying * fix tests * tidy and re-add test * store depends on loader * enrich tests * fix test * undo gomod changes
This commit is contained in:
@@ -10,7 +10,7 @@ type InfraLogWrapper struct {
|
||||
log log.Logger
|
||||
}
|
||||
|
||||
func NewLogger(name string) (l *InfraLogWrapper) {
|
||||
func NewLogger(name string) *InfraLogWrapper {
|
||||
return &InfraLogWrapper{
|
||||
log: log.New(name),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user