Skip to content

Commit aedba06

Browse files
committed
added missing return at the end of function
1 parent 6513e3c commit aedba06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

log/logger_factory.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var (
1616
//
1717
func Register(name string, logger ILogger) ILogger {
1818
loggers[name] = logger
19+
return logger
1920
}
2021

2122
// Get returns an instance of the requested logger by its name. Returns the Nil Logger implementation

0 commit comments

Comments
 (0)